WorkflowApplication.CreateDefaultInstanceOwner Method

Definition

Creates a default instance owner for the workflow.

Overloads

CreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter)

Creates a default instance owner for the workflow using specified instance store, definition identity, and identity filter.

CreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, TimeSpan)

Creates a default instance owner for the workflow using specified instance store, definition identity, and identity filter and timeout interval.

CreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter)

Creates a default instance owner for the workflow using specified instance store, definition identity, and identity filter.

C#
public static void CreateDefaultInstanceOwner(System.Runtime.DurableInstancing.InstanceStore instanceStore, System.Activities.WorkflowIdentity definitionIdentity, System.Activities.WorkflowIdentityFilter identityFilter);

Parameters

instanceStore
InstanceStore

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

definitionIdentity
WorkflowIdentity

The definition identity of the workflow.

identityFilter
WorkflowIdentityFilter

The identity filter.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

CreateDefaultInstanceOwner(InstanceStore, WorkflowIdentity, WorkflowIdentityFilter, TimeSpan)

Creates a default instance owner for the workflow using specified instance store, definition identity, and identity filter and timeout interval.

C#
public static void CreateDefaultInstanceOwner(System.Runtime.DurableInstancing.InstanceStore instanceStore, System.Activities.WorkflowIdentity definitionIdentity, System.Activities.WorkflowIdentityFilter identityFilter, TimeSpan timeout);

Parameters

instanceStore
InstanceStore

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

definitionIdentity
WorkflowIdentity

The definition identity of the workflow.

identityFilter
WorkflowIdentityFilter

The identity filter.

timeout
TimeSpan

The interval in which the begin load operation must complete before the operation is canceled.

Applies to

.NET Framework 4.8.1 and other versions
Product Versions
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1