Sdílet prostřednictvím


ServiceMetadataBehavior.IServiceBehavior.ApplyDispatchBehavior Metoda

Definice

IServiceBehavior Implementace, která konfiguruje podkladové vazby tak, aby podporovala chování ve službě.

 virtual void System.ServiceModel.Description.IServiceBehavior.ApplyDispatchBehavior(System::ServiceModel::Description::ServiceDescription ^ description, System::ServiceModel::ServiceHostBase ^ serviceHostBase) = System::ServiceModel::Description::IServiceBehavior::ApplyDispatchBehavior;
void IServiceBehavior.ApplyDispatchBehavior (System.ServiceModel.Description.ServiceDescription description, System.ServiceModel.ServiceHostBase serviceHostBase);
abstract member System.ServiceModel.Description.IServiceBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
override this.System.ServiceModel.Description.IServiceBehavior.ApplyDispatchBehavior : System.ServiceModel.Description.ServiceDescription * System.ServiceModel.ServiceHostBase -> unit
Sub ApplyDispatchBehavior (description As ServiceDescription, serviceHostBase As ServiceHostBase) Implements IServiceBehavior.ApplyDispatchBehavior

Parametry

description
ServiceDescription

Popis služby, který se má upravit.

serviceHostBase
ServiceHostBase

Hostitel služby.

Implementuje

Výjimky

Buď buď ty description , nebo serviceHostBase jsou null.

Cílová adresa serviceHostBase je null.

Platí pro