WorkflowHostingEndpoint.OnGetCreationContext Method (Object[], OperationContext, Guid, WorkflowHostingResponseContext)

.NET Framework (current version)
 

Override to create a newWorkflowCreationContext instance.

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

protected internal virtual WorkflowCreationContext OnGetCreationContext(
	object[] inputs,
	OperationContext operationContext,
	Guid instanceId,
	WorkflowHostingResponseContext responseContext
)

Parameters

inputs
Type: System.Object[]

The inputs to the service operation.

operationContext
Type: System.ServiceModel.OperationContext

Provides the execution context of the service operation invoked.

instanceId
Type: System.Guid

The instance ID of the workflow instance being created.

responseContext
Type: System.ServiceModel.Activities.WorkflowHostingResponseContext

The T:System.ServiceModel.Activities.WorkflowHostingEndpointResponseContext object that can be used to send replies back to the message source for a request/reply contract.

Return Value

Type: System.ServiceModel.Activities.WorkflowCreationContext

A workflow creation context object.

The following example shows how to implement the OnGetCreationContext method.

.NET Framework
Available since 4.0
Return to top
Show: