FaultException.Reason 属性

定义

获取 SOAP 错误的 FaultReason

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 错误的原因。

适用于