Redigera

Dela via


WorkflowRuntimeBehavior.ApplyDispatchBehavior Method

Definition

Configures the workflow service to support the workflow run-time behavior.

public:
 virtual void ApplyDispatchBehavior(System::ServiceModel::Description::ServiceDescription ^ serviceDescription, System::ServiceModel::ServiceHostBase ^ serviceHostBase);
public void ApplyDispatchBehavior (System.ServiceModel.Description.ServiceDescription serviceDescription, System.ServiceModel.ServiceHostBase serviceHostBase);
abstract member ApplyDispatchBehavior : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
override this.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
Public Sub ApplyDispatchBehavior (serviceDescription As ServiceDescription, serviceHostBase As ServiceHostBase)

Parameters

serviceDescription
ServiceDescription

The service description.

serviceHostBase
ServiceHostBase

The service host.

Implements

Remarks

This method creates a CachedInstanceExpiration extension and configures it for the WorkflowRuntime.

Applies to