Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
InvokeAsync Method

WorkflowInvoker.InvokeAsync Method

.NET Framework 4.6 and 4.5

Invokes a workflow asynchronously using the event-based asynchronous design pattern.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method InvokeAsync() Invokes a workflow asynchronously.
Public method InvokeAsync(Object) Invokes a workflow asynchronously using the specified unique identifier.
Public method InvokeAsync(IDictionary<String, Object>) Invokes a workflow asynchronously using the specified IDictionary<TKey, TValue> of input parameters.
Public method InvokeAsync(TimeSpan) Invokes a workflow asynchronously with the specified time-out interval.
Public method InvokeAsync(IDictionary<String, Object>, Object) Invokes a workflow asynchronously using the specified IDictionary<TKey, TValue> of input parameters and a unique identifier.
Public method InvokeAsync(IDictionary<String, Object>, TimeSpan) Invokes a workflow asynchronously with the specified IDictionary<TKey, TValue> of input parameters and the specified time-out interval.
Public method InvokeAsync(TimeSpan, Object) Invokes a workflow asynchronously with the specified time-out interval and a unique identifier.
Public method InvokeAsync(IDictionary<String, Object>, TimeSpan, Object) Invokes a workflow asynchronously with the specified IDictionary<TKey, TValue> of input parameters, the specified time-out interval, and a unique identifier.
Top

To be notified when the workflow is complete, handle InvokeCompleted. To configure a time-out interval in which the workflow must complete, use one of the InvokeAsync overloads that take a TimeSpan.

This method invokes a workflow asynchronously using the event-based asynchronous design pattern. For more information, seeEvent-based Asynchronous Pattern Overview.

Show:
© 2015 Microsoft