FaultException.Code 屬性

定義

取得 SOAP 錯誤的錯誤碼。Gets the fault code for the SOAP fault.

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 錯誤的錯誤碼。The fault code for the SOAP fault.

適用於