ManagementGroup.UnregisterMonitoringTaskStatusChangeCallback Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Discontinues the registration of the callback method.
Overloads
UnregisterMonitoringTaskStatusChangeCallback(Guid) |
Obsolete.
Unregisters the callback for the given batch id. |
UnregisterMonitoringTaskStatusChangeCallback(IAsyncResult) |
Obsolete.
Unregisters the underlying callback for the IAsyncResult provided by any of the async task submission methods. |
UnregisterMonitoringTaskStatusChangeCallback(Guid)
Caution
Please use TaskRuntime.UnregisterMonitoringTaskStatusChangeCallback()
Unregisters the callback for the given batch id.
public:
void UnregisterMonitoringTaskStatusChangeCallback(Guid batchId);
[System.Obsolete("Please use TaskRuntime.UnregisterMonitoringTaskStatusChangeCallback()")]
public void UnregisterMonitoringTaskStatusChangeCallback (Guid batchId);
member this.UnregisterMonitoringTaskStatusChangeCallback : Guid -> unit
Public Sub UnregisterMonitoringTaskStatusChangeCallback (batchId As Guid)
Parameters
- batchId
- Guid
The batch id.
- Attributes
Exceptions
callback with the given batchid not found
Applies to
UnregisterMonitoringTaskStatusChangeCallback(IAsyncResult)
Caution
Please use TaskRuntime.UnregisterMonitoringTaskStatusChangeCallback()
Unregisters the underlying callback for the IAsyncResult provided by any of the async task submission methods.
public:
void UnregisterMonitoringTaskStatusChangeCallback(IAsyncResult ^ asyncResult);
[System.Obsolete("Please use TaskRuntime.UnregisterMonitoringTaskStatusChangeCallback()")]
public void UnregisterMonitoringTaskStatusChangeCallback (IAsyncResult asyncResult);
member this.UnregisterMonitoringTaskStatusChangeCallback : IAsyncResult -> unit
Public Sub UnregisterMonitoringTaskStatusChangeCallback (asyncResult As IAsyncResult)
Parameters
- asyncResult
- IAsyncResult
The result.
- Attributes
Exceptions
callback with the given batchid not found