Class WorkflowInvoker
Inheritance
System.Object
WorkflowInvoker
Namespace: System.Activities
Assembly: System.Activities.dll
Syntax
public sealed class WorkflowInvoker : Object
Constructors
WorkflowInvoker(Activity)
Properties
Extensions
Declaration
public WorkflowInstanceExtensionManager Extensions { get; }
Property Value
WorkflowInstanceExtensionManager
|
Methods
BeginInvoke(AsyncCallback, Object)
Declaration
public IAsyncResult BeginInvoke(AsyncCallback callback, object state)
Parameters
System.AsyncCallback
callback
|
System.Object
state
|
Returns
System.IAsyncResult
|
BeginInvoke(IDictionary<String, Object>, AsyncCallback, Object)
Declaration
public IAsyncResult BeginInvoke(IDictionary<string, object> inputs, AsyncCallback callback, object state)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
System.AsyncCallback
callback
|
System.Object
state
|
Returns
System.IAsyncResult
|
BeginInvoke(IDictionary<String, Object>, TimeSpan, AsyncCallback, Object)
Declaration
public IAsyncResult BeginInvoke(IDictionary<string, object> inputs, TimeSpan timeout, AsyncCallback callback, object state)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
System.TimeSpan
timeout
|
System.AsyncCallback
callback
|
System.Object
state
|
Returns
System.IAsyncResult
|
BeginInvoke(TimeSpan, AsyncCallback, Object)
Declaration
public IAsyncResult BeginInvoke(TimeSpan timeout, AsyncCallback callback, object state)
Parameters
System.TimeSpan
timeout
|
System.AsyncCallback
callback
|
System.Object
state
|
Returns
System.IAsyncResult
|
CancelAsync(Object)
Declaration
public void CancelAsync(object userState)
Parameters
System.Object
userState
|
EndInvoke(IAsyncResult)
Declaration
public IDictionary<string, object> EndInvoke(IAsyncResult result)
Parameters
System.IAsyncResult
result
|
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
|
Invoke()
Declaration
public IDictionary<string, object> Invoke()
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
|
Invoke(Activity)
Declaration
public static IDictionary<string, object> Invoke(Activity workflow)
Parameters
Activity
workflow
|
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
|
Invoke(Activity, IDictionary<String, Object>)
Declaration
public static IDictionary<string, object> Invoke(Activity workflow, IDictionary<string, object> inputs)
Parameters
Activity
workflow
|
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
|
Invoke(Activity, IDictionary<String, Object>, TimeSpan)
Declaration
public static IDictionary<string, object> Invoke(Activity workflow, IDictionary<string, object> inputs, TimeSpan timeout)
Parameters
Activity
workflow
|
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
System.TimeSpan
timeout
|
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
|
Invoke(Activity, TimeSpan)
Declaration
public static IDictionary<string, object> Invoke(Activity workflow, TimeSpan timeout)
Parameters
Activity
workflow
|
System.TimeSpan
timeout
|
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
|
Invoke(IDictionary<String, Object>)
Declaration
public IDictionary<string, object> Invoke(IDictionary<string, object> inputs)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
|
Invoke(IDictionary<String, Object>, TimeSpan)
Declaration
public IDictionary<string, object> Invoke(IDictionary<string, object> inputs, TimeSpan timeout)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
System.TimeSpan
timeout
|
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
|
Invoke(TimeSpan)
Declaration
public IDictionary<string, object> Invoke(TimeSpan timeout)
Parameters
System.TimeSpan
timeout
|
Returns
System.Collections.Generic.IDictionary<System.String, System.Object>
|
Invoke<TResult>(Activity<TResult>)
Declaration
public static TResult Invoke<TResult>(Activity<TResult> workflow)
Parameters
Activity<TResult>
workflow
|
Returns
TResult
|
Type Parameters
TResult
|
Invoke<TResult>(Activity<TResult>, IDictionary<String, Object>)
Declaration
public static TResult Invoke<TResult>(Activity<TResult> workflow, IDictionary<string, object> inputs)
Parameters
Activity<TResult>
workflow
|
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
Returns
TResult
|
Type Parameters
TResult
|
Invoke<TResult>(Activity<TResult>, IDictionary<String, Object>, out IDictionary<String, Object>, TimeSpan)
Declaration
public static TResult Invoke<TResult>(Activity<TResult> workflow, IDictionary<string, object> inputs, out IDictionary<string, object> additionalOutputs, TimeSpan timeout)
Parameters
Activity<TResult>
workflow
|
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
System.Collections.Generic.IDictionary<System.String, System.Object>
additionalOutputs
|
System.TimeSpan
timeout
|
Returns
TResult
|
Type Parameters
TResult
|
Invoke<TResult>(Activity<TResult>, IDictionary<String, Object>, TimeSpan)
Declaration
public static TResult Invoke<TResult>(Activity<TResult> workflow, IDictionary<string, object> inputs, TimeSpan timeout)
Parameters
Activity<TResult>
workflow
|
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
System.TimeSpan
timeout
|
Returns
TResult
|
Type Parameters
TResult
|
InvokeAsync()
Declaration
public void InvokeAsync()
InvokeAsync(IDictionary<String, Object>)
Declaration
public void InvokeAsync(IDictionary<string, object> inputs)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
InvokeAsync(IDictionary<String, Object>, Object)
Declaration
public void InvokeAsync(IDictionary<string, object> inputs, object userState)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
System.Object
userState
|
InvokeAsync(IDictionary<String, Object>, TimeSpan)
Declaration
public void InvokeAsync(IDictionary<string, object> inputs, TimeSpan timeout)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
System.TimeSpan
timeout
|
InvokeAsync(IDictionary<String, Object>, TimeSpan, Object)
Declaration
public void InvokeAsync(IDictionary<string, object> inputs, TimeSpan timeout, object userState)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object>
inputs
|
System.TimeSpan
timeout
|
System.Object
userState
|
InvokeAsync(Object)
Declaration
public void InvokeAsync(object userState)
Parameters
System.Object
userState
|
InvokeAsync(TimeSpan)
Declaration
public void InvokeAsync(TimeSpan timeout)
Parameters
System.TimeSpan
timeout
|
InvokeAsync(TimeSpan, Object)
Declaration
public void InvokeAsync(TimeSpan timeout, object userState)
Parameters
System.TimeSpan
timeout
|
System.Object
userState
|
Events
InvokeCompleted
Declaration
public event EventHandler<InvokeCompletedEventArgs> InvokeCompleted
Event Type
System.EventHandler<InvokeCompletedEventArgs>
|