WorkflowHostingEndpoint::OnGetCreationContext Method (array<Object^>^, OperationContext^, Guid, WorkflowHostingResponseContext^)
Override to create a newWorkflowCreationContext instance.
Assembly: System.ServiceModel.Activities (in System.ServiceModel.Activities.dll)
public protected: virtual WorkflowCreationContext^ OnGetCreationContext( array<Object^>^ inputs, OperationContext^ operationContext, Guid instanceId, WorkflowHostingResponseContext^ responseContext )
Parameters
- inputs
-
Type:
array<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.
Available since 4.0