ServiceAuthorizationBehavior.IServiceBehavior.ApplyDispatchBehavior 方法

定义

定义一个显式接口实现,添加调度行为以配置绑定。

 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

参数

description
ServiceDescription

服务说明。

serviceHostBase
ServiceHostBase

当前正在生成的宿主。

实现

注解

此成员是显式接口成员的实现。 它只能在 ServiceAuthorizationBehavior 实例被强制转换为 IServiceBehavior 接口时使用。

适用于