DurableServiceAttribute.ApplyDispatchBehavior(ServiceDescription, ServiceHostBase) Methode

Definition

Passt die Dienstlaufzeit zur Unterstützung permanenter Dienstverhaltenseigenschaften an, z. B. durch Angeben eines PersistenceProvider für den Dienst.Customizes the service runtime to support durable service behavior properties, such as specifying a PersistenceProvider for the service.

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)

Parameter

serviceDescription
ServiceDescription

Die Dienstbeschreibung.The service description.

serviceHostBase
ServiceHostBase

Der Diensthost.The service host.

Implementiert

Gilt für: