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

Definition

Override to create a new WorkflowCreationContext instance.

protected public:
 virtual System::ServiceModel::Activities::WorkflowCreationContext ^ OnGetCreationContext(cli::array <System::Object ^> ^ inputs, System::ServiceModel::OperationContext ^ operationContext, Guid instanceId, System::ServiceModel::Activities::WorkflowHostingResponseContext ^ responseContext);
protected internal virtual System.ServiceModel.Activities.WorkflowCreationContext OnGetCreationContext (object[] inputs, System.ServiceModel.OperationContext operationContext, Guid instanceId, System.ServiceModel.Activities.WorkflowHostingResponseContext responseContext);
abstract member OnGetCreationContext : obj[] * System.ServiceModel.OperationContext * Guid * System.ServiceModel.Activities.WorkflowHostingResponseContext -> System.ServiceModel.Activities.WorkflowCreationContext
override this.OnGetCreationContext : obj[] * System.ServiceModel.OperationContext * Guid * System.ServiceModel.Activities.WorkflowHostingResponseContext -> System.ServiceModel.Activities.WorkflowCreationContext

Parameters

inputs
Object[]

The inputs to the service operation.

operationContext
OperationContext OperationContext OperationContext

Provides the execution context of the service operation invoked.

instanceId
Guid Guid Guid

The instance ID of the workflow instance being created.

responseContext
WorkflowHostingResponseContext WorkflowHostingResponseContext WorkflowHostingResponseContext

The object that can be used to send replies back to the message source for a request/reply contract.

Returns

Examples

The following example shows how to implement the OnGetCreationContext method.

Applies to