Show / Hide Table of Contents

Class WorkflowInstance

Inheritance
System.Object
WorkflowInstance
WorkflowApplication
Namespace: System.Activities.Hosting
Assembly: System.Activities.dll
Syntax
public abstract class WorkflowInstance : Object

Constructors

WorkflowInstance(Activity)

Declaration
protected WorkflowInstance(Activity workflowDefinition)
Parameters
Activity workflowDefinition

WorkflowInstance(Activity, WorkflowIdentity)

Declaration
protected WorkflowInstance(Activity workflowDefinition, WorkflowIdentity definitionIdentity)
Parameters
Activity workflowDefinition

WorkflowIdentity definitionIdentity

Properties

Controller

Declaration
protected WorkflowInstance.WorkflowInstanceControl Controller { get; }
Property Value
WorkflowInstance.WorkflowInstanceControl

DefinitionIdentity

Declaration
public WorkflowIdentity DefinitionIdentity { get; }
Property Value
WorkflowIdentity

HostEnvironment

Declaration
public LocationReferenceEnvironment HostEnvironment { get; set; }
Property Value
LocationReferenceEnvironment

Id

Declaration
public abstract Guid Id { get; }
Property Value
System.Guid

IsReadOnly

Declaration
protected bool IsReadOnly { get; }
Property Value
System.Boolean

SupportsInstanceKeys

Declaration
protected abstract bool SupportsInstanceKeys { get; }
Property Value
System.Boolean

SynchronizationContext

Declaration
public SynchronizationContext SynchronizationContext { get; set; }
Property Value
System.Threading.SynchronizationContext

WorkflowDefinition

Declaration
public Activity WorkflowDefinition { get; }
Property Value
Activity

Methods

BeginFlushTrackingRecords(TimeSpan, AsyncCallback, Object)

Declaration
protected IAsyncResult BeginFlushTrackingRecords(TimeSpan timeout, AsyncCallback callback, object state)
Parameters
System.TimeSpan timeout

System.AsyncCallback callback

System.Object state

Returns
System.IAsyncResult

DisposeExtensions()

Declaration
protected void DisposeExtensions()

EndFlushTrackingRecords(IAsyncResult)

Declaration
protected void EndFlushTrackingRecords(IAsyncResult result)
Parameters
System.IAsyncResult result

FlushTrackingRecords(TimeSpan)

Declaration
protected void FlushTrackingRecords(TimeSpan timeout)
Parameters
System.TimeSpan timeout

GetExtension<T>()

Declaration
protected T GetExtension<T>()
    where T : class
Returns
T

Type Parameters
T

GetExtensions<T>()

Declaration
protected IEnumerable<T> GetExtensions<T>()
    where T : class
Returns
System.Collections.Generic.IEnumerable<T>

Type Parameters
T

Initialize(IDictionary<String, Object>, IList<Handle>)

Declaration
protected void Initialize(IDictionary<string, object> workflowArgumentValues, IList<Handle> workflowExecutionProperties)
Parameters
System.Collections.Generic.IDictionary<System.String, System.Object> workflowArgumentValues

System.Collections.Generic.IList<Handle> workflowExecutionProperties

Initialize(Object)

Declaration
protected void Initialize(object deserializedRuntimeState)
Parameters
System.Object deserializedRuntimeState

OnBeginAssociateKeys(ICollection<InstanceKey>, AsyncCallback, Object)

Declaration
protected abstract IAsyncResult OnBeginAssociateKeys(ICollection<InstanceKey> keys, AsyncCallback callback, object state)
Parameters
System.Collections.Generic.ICollection<InstanceKey> keys

System.AsyncCallback callback

System.Object state

Returns
System.IAsyncResult

OnBeginFlushTrackingRecords(AsyncCallback, Object)

Declaration
protected virtual IAsyncResult OnBeginFlushTrackingRecords(AsyncCallback callback, object state)
Parameters
System.AsyncCallback callback

System.Object state

Returns
System.IAsyncResult

OnBeginPersist(AsyncCallback, Object)

Declaration
protected abstract IAsyncResult OnBeginPersist(AsyncCallback callback, object state)
Parameters
System.AsyncCallback callback

System.Object state

Returns
System.IAsyncResult

OnBeginResumeBookmark(Bookmark, Object, TimeSpan, AsyncCallback, Object)

Declaration
protected abstract IAsyncResult OnBeginResumeBookmark(Bookmark bookmark, object value, TimeSpan timeout, AsyncCallback callback, object state)
Parameters
Bookmark bookmark

System.Object value

System.TimeSpan timeout

System.AsyncCallback callback

System.Object state

Returns
System.IAsyncResult

OnDisassociateKeys(ICollection<InstanceKey>)

Declaration
protected abstract void OnDisassociateKeys(ICollection<InstanceKey> keys)
Parameters
System.Collections.Generic.ICollection<InstanceKey> keys

OnEndAssociateKeys(IAsyncResult)

Declaration
protected abstract void OnEndAssociateKeys(IAsyncResult result)
Parameters
System.IAsyncResult result

OnEndFlushTrackingRecords(IAsyncResult)

Declaration
protected virtual void OnEndFlushTrackingRecords(IAsyncResult result)
Parameters
System.IAsyncResult result

OnEndPersist(IAsyncResult)

Declaration
protected abstract void OnEndPersist(IAsyncResult result)
Parameters
System.IAsyncResult result

OnEndResumeBookmark(IAsyncResult)

Declaration
protected abstract BookmarkResumptionResult OnEndResumeBookmark(IAsyncResult result)
Parameters
System.IAsyncResult result

Returns
BookmarkResumptionResult

OnNotifyPaused()

Declaration
protected abstract void OnNotifyPaused()

OnNotifyUnhandledException(Exception, Activity, String)

Declaration
protected abstract void OnNotifyUnhandledException(Exception exception, Activity source, string sourceInstanceId)
Parameters
System.Exception exception

Activity source

System.String sourceInstanceId

OnRequestAbort(Exception)

Declaration
protected abstract void OnRequestAbort(Exception reason)
Parameters
System.Exception reason

RegisterExtensionManager(WorkflowInstanceExtensionManager)

Declaration
protected void RegisterExtensionManager(WorkflowInstanceExtensionManager extensionManager)
Parameters
WorkflowInstanceExtensionManager extensionManager

ThrowIfReadOnly()

Declaration
protected void ThrowIfReadOnly()
Back to top Generated by DocFX