Redigeeri

Jagamisviis:


WorkflowCreationContext Class

Definition

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

public ref class WorkflowCreationContext
[System.Runtime.Serialization.DataContract]
public class WorkflowCreationContext
[<System.Runtime.Serialization.DataContract>]
type WorkflowCreationContext = class
Public Class WorkflowCreationContext
Inheritance
WorkflowCreationContext
Attributes

Constructors

WorkflowCreationContext()

Initiates a new instance of the WorkflowCreationContext class.

Properties

CreateOnly

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

IsCompletionTransactionRequired

Gets or sets a value that indicates whether the OnBeginWorkflowCompleted(ActivityInstanceState, IDictionary<String,Object>, Exception, TimeSpan, AsyncCallback, Object) method is called in a transaction.

WorkflowArguments

Gets the arguments passed to the newly created workflow instance.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAbort()

Aborts the WorkflowCreationContext.

OnBeginWorkflowCompleted(ActivityInstanceState, IDictionary<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.

OnEndWorkflowCompleted(IAsyncResult)

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

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to