編輯

共用方式為


WebHttpBehavior.AddClientErrorInspector Method

Definition

Adds a client error inspector to the specified service endpoint.

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)

Parameters

endpoint
ServiceEndpoint

The service endpoint.

clientRuntime
ClientRuntime

The client runtime.

Applies to