WebScriptEnablingBehavior.ApplyClientBehavior 方法

定义

将行为应用于终结点上的客户端。

public:
 override void ApplyClientBehavior(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::ClientRuntime ^ clientRuntime);
public override void ApplyClientBehavior (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime);
override this.ApplyClientBehavior : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -> unit
Public Overrides Sub ApplyClientBehavior (endpoint As ServiceEndpoint, clientRuntime As ClientRuntime)

参数

endpoint
ServiceEndpoint

公开了协定的 ServiceEndpoint

clientRuntime
ClientRuntime

对其应用自定义行为的 ClientRuntime

注解

实现 ApplyClientBehavior(ServiceEndpoint, ClientRuntime) 方法,以查看或修改自定义扩展,或者将自定义扩展添加到与某个终结点一起使用的或针对特定操作的所有消息的客户端运行时。

适用于