FaultException.Code 属性

定义

获取 SOAP 错误的错误代码。

public:
 property System::ServiceModel::FaultCode ^ Code { System::ServiceModel::FaultCode ^ get(); };
public System.ServiceModel.FaultCode Code { get; }
member this.Code : System.ServiceModel.FaultCode
Public ReadOnly Property Code As FaultCode

属性值

FaultCode

SOAP 错误的错误代码。

适用于