WsdlEndpointConversionContext.GetFaultBinding(FaultDescription) 方法

定义

获取与该错误关联的 WSDL 绑定。

public:
 System::Web::Services::Description::FaultBinding ^ GetFaultBinding(System::ServiceModel::Description::FaultDescription ^ fault);
public System.Web.Services.Description.FaultBinding GetFaultBinding (System.ServiceModel.Description.FaultDescription fault);
member this.GetFaultBinding : System.ServiceModel.Description.FaultDescription -> System.Web.Services.Description.FaultBinding
Public Function GetFaultBinding (fault As FaultDescription) As FaultBinding

参数

fault
FaultDescription

与 WSDL 绑定关联的错误的 FaultDescription

返回

FaultBinding

与错误关联的 WSDL FaultBinding

注解

此方法是 GetFaultDescription 方法的逆方法。

适用于