WorkflowHostingEndpoint.OnGetCreationContext 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
覆寫以建立新的 WorkflowCreationContext 執行個體。
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
參數
- inputs
- Object[]
服務作業的輸入。
- operationContext
- OperationContext
提供叫用的服務作業的執行內容。
- instanceId
- Guid
所建立之工作流程執行個體的執行個體 ID。
- responseContext
- WorkflowHostingResponseContext
可用來將回覆傳送回要求/回覆合約之訊息來源的物件。
傳回
工作流程建立內容物件。
範例
下列範例將示範如何實作 OnGetCreationContext 方法。