แก้ไข

แชร์ผ่าน


WorkflowApplication.BeginCreateDefaultInstanceOwner Method

Definition

Creates a default instance owner asynchronously using the IAsyncResult asynchronous design pattern.

Overloads

BeginCreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, TimeSpan, AsyncCallback, Object)

Creates a default instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, definition identity, identity filter, timeout interval, callback and state.

BeginCreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, AsyncCallback, Object)

Creates a default instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, definition identity, identity filter, callback and state.

BeginCreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, TimeSpan, AsyncCallback, Object)

Creates a default instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, definition identity, identity filter, timeout interval, callback and state.

public:
 static IAsyncResult ^ BeginCreateDefaultInstanceOwner(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, System::Activities::WorkflowIdentity ^ definitionIdentity, System::Activities::WorkflowIdentityFilter identityFilter, TimeSpan timeout, AsyncCallback ^ callback, System::Object ^ state);
public static IAsyncResult BeginCreateDefaultInstanceOwner (System.Runtime.DurableInstancing.InstanceStore instanceStore, System.Activities.WorkflowIdentity definitionIdentity, System.Activities.WorkflowIdentityFilter identityFilter, TimeSpan timeout, AsyncCallback callback, object state);
static member BeginCreateDefaultInstanceOwner : System.Runtime.DurableInstancing.InstanceStore * System.Activities.WorkflowIdentity * System.Activities.WorkflowIdentityFilter * TimeSpan * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginCreateDefaultInstanceOwner (instanceStore As InstanceStore, definitionIdentity As WorkflowIdentity, identityFilter As WorkflowIdentityFilter, timeout As TimeSpan, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

instanceStore
InstanceStore

The access to the persisted state of the current instance of the workflow application.

definitionIdentity
WorkflowIdentity

The definition identity.

identityFilter
WorkflowIdentityFilter

The identity filter.

timeout
TimeSpan

The interval in which the begin load operation must complete before the operation is canceled and a TimeoutException is thrown.

callback
AsyncCallback

The method to be called when the begin load operation has completed.

state
Object

An optional application-specific object that contains information about the asynchronous operation.

Returns

A reference to the asynchronous operation.

Applies to

BeginCreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, AsyncCallback, Object)

Creates a default instance owner asynchronously using the IAsyncResult asynchronous design pattern with specified instance store, definition identity, identity filter, callback and state.

public:
 static IAsyncResult ^ BeginCreateDefaultInstanceOwner(System::Runtime::DurableInstancing::InstanceStore ^ instanceStore, System::Activities::WorkflowIdentity ^ definitionIdentity, System::Activities::WorkflowIdentityFilter identityFilter, AsyncCallback ^ callback, System::Object ^ state);
public static IAsyncResult BeginCreateDefaultInstanceOwner (System.Runtime.DurableInstancing.InstanceStore instanceStore, System.Activities.WorkflowIdentity definitionIdentity, System.Activities.WorkflowIdentityFilter identityFilter, AsyncCallback callback, object state);
static member BeginCreateDefaultInstanceOwner : System.Runtime.DurableInstancing.InstanceStore * System.Activities.WorkflowIdentity * System.Activities.WorkflowIdentityFilter * AsyncCallback * obj -> IAsyncResult
Public Shared Function BeginCreateDefaultInstanceOwner (instanceStore As InstanceStore, definitionIdentity As WorkflowIdentity, identityFilter As WorkflowIdentityFilter, callback As AsyncCallback, state As Object) As IAsyncResult

Parameters

instanceStore
InstanceStore

The access to the persisted state of the current instance of the workflow application.

definitionIdentity
WorkflowIdentity

The definition identity.

identityFilter
WorkflowIdentityFilter

The identity filter.

callback
AsyncCallback

The method to be called when the begin load operation has completed.

state
Object

An optional application-specific object that contains information about the asynchronous operation.

Returns

A reference to the asynchronous operation.

Applies to