Assembly: Microsoft.EnterpriseManagement.Core (in microsoft.enterprisemanagement.core.dll)
Usage
Visual Basic |
---|
Dim instance As ITaskRuntimeManagement Dim targetIds As ICollection(Of Guid) Dim taskId As Guid Dim configuration As TaskConfiguration Dim callback As AsyncCallback Dim state As Object Dim returnValue As IAsyncResult returnValue = instance.BeginExecuteTask(targetIds, taskId, configuration, callback, state) |
Syntax
Visual Basic |
---|
Function BeginExecuteTask ( _ targetIds As ICollection(Of Guid), _ taskId As Guid, _ configuration As TaskConfiguration, _ callback As AsyncCallback, _ state As Object _ ) As IAsyncResult |
C# |
---|
IAsyncResult BeginExecuteTask ( ICollection<Guid> targetIds, Guid taskId, TaskConfiguration configuration, AsyncCallback callback, Object state ) |
C++ |
---|
IAsyncResult^ BeginExecuteTask ( ICollection<Guid>^ targetIds, Guid taskId, TaskConfiguration^ configuration, AsyncCallback^ callback, Object^ state ) |
J# |
---|
IAsyncResult BeginExecuteTask ( ICollection<Guid> targetIds, Guid taskId, TaskConfiguration configuration, AsyncCallback callback, Object state ) |
JScript |
---|
function BeginExecuteTask ( targetIds : ICollection<Guid>, taskId : Guid, configuration : TaskConfiguration, callback : AsyncCallback, state : Object ) : IAsyncResult |
Parameters
- targetIds
-
The entities to target.
- taskId
-
The task to submit.
- configuration
-
The configuration of the task.
- callback
-
The callback to get notified on when the task completes.
- state
-
The optional state to pass back to the callback.
Return Value
Returns IAsyncResult. The result of the task execution.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.