WorkflowHostingEndpoint.OnGetCreationContext Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Protected Friend Overridable Function OnGetCreationContext (inputs As Object(), operationContext As OperationContext, instanceId As Guid, responseContext As WorkflowHostingResponseContext) As WorkflowCreationContext
Parameters
- inputs
- Object[]
The inputs to the service operation.
- operationContext
- OperationContext
Provides the execution context of the service operation invoked.
- instanceId
- Guid
The instance ID of the workflow instance being created.
- responseContext
- WorkflowHostingResponseContext
The object that can be used to send replies back to the message source for a request/reply contract.
Returns
A workflow creation context object.
Examples
The following example shows how to implement the OnGetCreationContext method.