Partager via


WorkflowRuntimeBehavior.ApplyDispatchBehavior Méthode

Définition

Configure le service de workflow afin de prendre en charge le comportement d'exécution du workflow.

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)

Paramètres

serviceDescription
ServiceDescription

Description du service.

serviceHostBase
ServiceHostBase

Hôte du service.

Implémente

Remarques

Cette méthode crée une extension CachedInstanceExpiration et la configure pour le WorkflowRuntime.

S’applique à