Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
Cancels an asynchronous query.
Namespace: Microsoft.ConfigurationManagement.ManagementProvider
Assembly: Microsoft.ConfigurationManagement.ManagementProvider (in microsoft.configurationmanagement.managementprovider.dll)
Usage
'Usage
Dim instance As QueryProcessorBase
Dim taskId As Object
instance.CancelAsync(taskId)
Syntax
'Declaration
Public Sub CancelAsync ( _
taskId As Object _
)
public void CancelAsync (
Object taskId
)
public:
void CancelAsync (
Object^ taskId
)
public void CancelAsync (
Object taskId
)
public function CancelAsync (
taskId : Object
)
Parameters
- taskId
[in] System.Object instance that represents the identifier of the task for which to cancel the query.
Exceptions
| Exception type | Condition |
|---|---|
| ArgumentNullException | The taskId parameter cannot be null. |
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
Reference
QueryProcessorBase Class
QueryProcessorBase Members
Microsoft.ConfigurationManagement.ManagementProvider Namespace