WebHttpBehavior.AddClientErrorInspector 方法

定义

将客户端错误检查器添加到指定的服务终结点。

protected:
 virtual void AddClientErrorInspector(System::ServiceModel::Description::ServiceEndpoint ^ endpoint, System::ServiceModel::Dispatcher::ClientRuntime ^ clientRuntime);
protected virtual void AddClientErrorInspector (System.ServiceModel.Description.ServiceEndpoint endpoint, System.ServiceModel.Dispatcher.ClientRuntime clientRuntime);
abstract member AddClientErrorInspector : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -> unit
override this.AddClientErrorInspector : System.ServiceModel.Description.ServiceEndpoint * System.ServiceModel.Dispatcher.ClientRuntime -> unit
Protected Overridable Sub AddClientErrorInspector (endpoint As ServiceEndpoint, clientRuntime As ClientRuntime)

参数

endpoint
ServiceEndpoint

服务终结点。

clientRuntime
ClientRuntime

客户端运行时。

适用于