MessageFault.Code 属性

定义

获取 SOAP 错误代码。

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

属性值

一个包含 SOAP 错误代码的 FaultCode

适用于