Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]
Cancels the callback for the specified asynchronous agent operation.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Usage
'Usage
Dim instance As ManagementServer
Dim asyncResult As IAsyncResult
instance.UnregisterExecuteAgentTasks(asyncResult)
Syntax
'Declaration
Public Sub UnregisterExecuteAgentTasks ( _
asyncResult As IAsyncResult _
)
public void UnregisterExecuteAgentTasks (
IAsyncResult asyncResult
)
public:
void UnregisterExecuteAgentTasks (
IAsyncResult^ asyncResult
)
public void UnregisterExecuteAgentTasks (
IAsyncResult asyncResult
)
public function UnregisterExecuteAgentTasks (
asyncResult : IAsyncResult
)
Parameters
- asyncResult
An IAsyncResult instance created when starting an asynchronous operation.
Remarks
If you specified a callback method when starting an agent task, the specified method is automatically called when the task is complete. After you cancel the callback for a task, its completion no longer causes the automatic execution of the specified callback method.
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 Vista, Windows Server 2003, and
Target Platforms
See Also
Reference
ManagementServer Class
ManagementServer Members
Microsoft.EnterpriseManagement.Administration Namespace