ManagementServer.UnregisterExecuteAgentTasks Method (IAsyncResult)
Applies To: Operations Manager for System Center 2012
Cancels the callback for the specified asynchronous agent operation.
Namespace: Microsoft.EnterpriseManagement.Administration
Assembly: Microsoft.EnterpriseManagement.OperationsManager (in Microsoft.EnterpriseManagement.OperationsManager.dll)
Syntax
public void UnregisterExecuteAgentTasks(
IAsyncResult asyncResult
)
public:
void UnregisterExecuteAgentTasks(
IAsyncResult^ asyncResult
)
member UnregisterExecuteAgentTasks :
asyncResult:IAsyncResult -> unit
Public Sub UnregisterExecuteAgentTasks (
asyncResult As IAsyncResult
)
Parameters
asyncResult
Type: System.IAsyncResultAn 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.
See Also
UnregisterExecuteAgentTasks Overload
ManagementServer Class
Microsoft.EnterpriseManagement.Administration Namespace
Return to top