FaultException.Reason 屬性

定義

取得 SOAP 錯誤的 FaultReasonGets the FaultReason for the SOAP fault.

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

屬性值

FaultReason

SOAP 錯誤的原因。The reason for the SOAP fault.

適用於