Edit

Bagikan melalui


ServiceMetadataBehavior.IServiceBehavior.ApplyDispatchBehavior Method

Definition

Implementation of IServiceBehavior that configures the underlying bindings to support the behavior on the service.

 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

Parameters

description
ServiceDescription

The service description to be modified.

serviceHostBase
ServiceHostBase

The host of the service.

Implements

Exceptions

Either the description or the serviceHostBase are null.

The destination address of the serviceHostBase is null.

Applies to