Requests cancelation of a pending asynchronous operation. Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)

Usage

Visual Basic
Dim instance As SmsBackgroundWorker

instance.CancelAsync

Syntax

Visual Basic
<DebuggerStepThroughAttribute> _
Public Sub CancelAsync
C#
[DebuggerStepThroughAttribute] 
public void CancelAsync ()
C++
[DebuggerStepThroughAttribute] 
public:
void CancelAsync ()
J#
/** @attribute DebuggerStepThroughAttribute() */ 
public void CancelAsync ()
JScript
DebuggerStepThroughAttribute 
public function CancelAsync ()

Remarks

The asynchronous operation might complete before the request for cancelation is accepted. The application should handle this condition by examining the result in QueryProcessorCompleted.


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2003,Windows Vista

See Also