WorkflowCreationContext WorkflowCreationContext WorkflowCreationContext 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
type WorkflowCreationContext = class
Public Class WorkflowCreationContext
Inheritance
WorkflowCreationContextWorkflowCreationContextWorkflowCreationContextWorkflowCreationContext
Attributes

Constructors

WorkflowCreationContext() WorkflowCreationContext() WorkflowCreationContext() WorkflowCreationContext()

Initiates a new instance of the WorkflowCreationContext class.

Properties

CreateOnly CreateOnly CreateOnly CreateOnly

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

IsCompletionTransactionRequired IsCompletionTransactionRequired IsCompletionTransactionRequired 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 WorkflowArguments WorkflowArguments WorkflowArguments

Gets the arguments passed to the newly created workflow instance.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnAbort() OnAbort() OnAbort() OnAbort()

Aborts the WorkflowCreationContext.

OnBeginWorkflowCompleted(ActivityInstanceState, IDictionary<String,Object>, Exception, TimeSpan, AsyncCallback, Object) OnBeginWorkflowCompleted(ActivityInstanceState, IDictionary<String,Object>, Exception, TimeSpan, AsyncCallback, Object) OnBeginWorkflowCompleted(ActivityInstanceState, IDictionary<String,Object>, Exception, TimeSpan, AsyncCallback, Object) 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) OnEndWorkflowCompleted(IAsyncResult) OnEndWorkflowCompleted(IAsyncResult) OnEndWorkflowCompleted(IAsyncResult)

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

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to