ITaskRuntimeManagement.RegisterMonitoringTaskCallback(Guid, TaskStatusChangeCallback) 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.
Registers the callback for the given batch id and callback.
public:
void RegisterMonitoringTaskCallback(Guid batchId, Microsoft::EnterpriseManagement::Runtime::TaskStatusChangeCallback ^ callback);
public void RegisterMonitoringTaskCallback (Guid batchId, Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback callback);
abstract member RegisterMonitoringTaskCallback : Guid * Microsoft.EnterpriseManagement.Runtime.TaskStatusChangeCallback -> unit
Public Sub RegisterMonitoringTaskCallback (batchId As Guid, callback As TaskStatusChangeCallback)
Parameters
- batchId
- Guid
The batch id.
- callback
- TaskStatusChangeCallback
The callback.
Exceptions
callback with the given batchid not found