WorkflowCreationContext Class

WorkflowCreationContext Class

.NET Framework (current version)
 

Represents a context that is set up during workflow activation using the workflow hosting endpoint to handle arguments, and receive workflow completion notifications.

Namespace:   System.ServiceModel.Activities
Assembly:  System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)

System.Object
  System.ServiceModel.Activities.WorkflowCreationContext

<DataContractAttribute>
Public Class WorkflowCreationContext

NameDescription
System_CAPS_pubmethodWorkflowCreationContext()

Initiates a new instance of the WorkflowCreationContext class.

NameDescription
System_CAPS_pubpropertyCreateOnly

Gets or sets a value that indicates if the workflow instance should be suspended or run after creation..

System_CAPS_pubpropertyIsCompletionTransactionRequired

Gets or sets a value that indicates whether the OnBeginWorkflowCompleted method is called in a transaction..

System_CAPS_pubpropertyWorkflowArguments

Gets the arguments passed to the newly created workflow instance.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodOnAbort()

Aborts the WorkflowCreationContext.

System_CAPS_protmethodOnBeginWorkflowCompleted(ActivityInstanceState, IDictionary(Of String, Object), Exception, TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to perform workflow instance completion notification. This method is called when the workflow instance associated with this WorkflowCreationContext completes. Derived classes can override this operation to perform custom actions on workflow instance completion.

System_CAPS_protmethodOnEndWorkflowCompleted(IAsyncResult)

Completes an asynchronous operation that notifies workflow instance completion associated with this WorkflowCreationContext.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 4.0

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft