共用方式為


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

用戶端執行階段。

適用於