SoapHeaderException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
初始化 SoapHeaderException 類別的新執行個體。
多載
| 名稱 | Description |
|---|---|
| SoapHeaderException() |
初始化 SoapHeaderException 類別的新執行個體。 |
| SoapHeaderException(SerializationInfo, StreamingContext) |
初始化類別的新實例 SoapHeaderException ,並設定用於控制序列化的參數。 |
| SoapHeaderException(String, XmlQualifiedName) |
初始化 SoapHeaderException 類別的新執行個體。 |
| SoapHeaderException(String, XmlQualifiedName, Exception) |
初始化 SoapHeaderException 類別的新執行個體。 |
| SoapHeaderException(String, XmlQualifiedName, String) |
初始化 SoapHeaderException 類別的新執行個體。 |
| SoapHeaderException(String, XmlQualifiedName, String, Exception) |
初始化 SoapHeaderException 類別的新執行個體。 |
| SoapHeaderException(String, XmlQualifiedName, String, String, SoapFaultSubCode, Exception) |
初始化一個新的類別實例 SoapHeaderException ,並附帶相關資料。 |
| SoapHeaderException(String, XmlQualifiedName, String, String, String, SoapFaultSubCode, Exception) |
初始化一個新的類別實例 SoapHeaderException ,並附帶相關資料。 |
SoapHeaderException()
初始化 SoapHeaderException 類別的新執行個體。
public:
SoapHeaderException();
public SoapHeaderException();
Public Sub New ()
適用於
SoapHeaderException(SerializationInfo, StreamingContext)
初始化類別的新實例 SoapHeaderException ,並設定用於控制序列化的參數。
protected:
SoapHeaderException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected SoapHeaderException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.Web.Services.Protocols.SoapHeaderException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Web.Services.Protocols.SoapHeaderException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
參數
- info
- SerializationInfo
SerializationInfo A 包含序列化與反序列化期間使用的值。
- context
- StreamingContext
SoapHeaderException(SerializationInfo, StreamingContext) A 包含序列化串流的來源與目的地資料。
適用於
SoapHeaderException(String, XmlQualifiedName)
初始化 SoapHeaderException 類別的新執行個體。
public:
SoapHeaderException(System::String ^ message, System::Xml::XmlQualifiedName ^ code);
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code);
new System.Web.Services.Protocols.SoapHeaderException : string * System.Xml.XmlQualifiedName -> System.Web.Services.Protocols.SoapHeaderException
Public Sub New (message As String, code As XmlQualifiedName)
參數
- code
- XmlQualifiedName
發生的錯誤類型。 這個參數設定了屬性 Code 。
適用於
SoapHeaderException(String, XmlQualifiedName, Exception)
初始化 SoapHeaderException 類別的新執行個體。
public:
SoapHeaderException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, Exception ^ innerException);
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code, Exception innerException);
new System.Web.Services.Protocols.SoapHeaderException : string * System.Xml.XmlQualifiedName * Exception -> System.Web.Services.Protocols.SoapHeaderException
Public Sub New (message As String, code As XmlQualifiedName, innerException As Exception)
參數
- code
- XmlQualifiedName
發生的錯誤類型。 這個參數設定了屬性 Code 。
- innerException
- Exception
指的是例外的根本原因。 這個參數設定了屬性 InnerException 。
適用於
SoapHeaderException(String, XmlQualifiedName, String)
初始化 SoapHeaderException 類別的新執行個體。
public:
SoapHeaderException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::String ^ actor);
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code, string actor);
new System.Web.Services.Protocols.SoapHeaderException : string * System.Xml.XmlQualifiedName * string -> System.Web.Services.Protocols.SoapHeaderException
Public Sub New (message As String, code As XmlQualifiedName, actor As String)
參數
- code
- XmlQualifiedName
發生的錯誤類型。 這個參數設定了屬性 Code 。
適用於
SoapHeaderException(String, XmlQualifiedName, String, Exception)
初始化 SoapHeaderException 類別的新執行個體。
public:
SoapHeaderException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::String ^ actor, Exception ^ innerException);
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code, string actor, Exception innerException);
new System.Web.Services.Protocols.SoapHeaderException : string * System.Xml.XmlQualifiedName * string * Exception -> System.Web.Services.Protocols.SoapHeaderException
Public Sub New (message As String, code As XmlQualifiedName, actor As String, innerException As Exception)
參數
- code
- XmlQualifiedName
發生的錯誤類型。 這個參數設定了屬性 Code 。
- innerException
- Exception
指的是例外的根本原因。 這個參數設定了屬性 InnerException 。
適用於
SoapHeaderException(String, XmlQualifiedName, String, String, SoapFaultSubCode, Exception)
初始化一個新的類別實例 SoapHeaderException ,並附帶相關資料。
public:
SoapHeaderException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::String ^ actor, System::String ^ role, System::Web::Services::Protocols::SoapFaultSubCode ^ subCode, Exception ^ innerException);
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code, string actor, string role, System.Web.Services.Protocols.SoapFaultSubCode subCode, Exception innerException);
new System.Web.Services.Protocols.SoapHeaderException : string * System.Xml.XmlQualifiedName * string * string * System.Web.Services.Protocols.SoapFaultSubCode * Exception -> System.Web.Services.Protocols.SoapHeaderException
Public Sub New (message As String, code As XmlQualifiedName, actor As String, role As String, subCode As SoapFaultSubCode, innerException As Exception)
參數
- code
- XmlQualifiedName
發生的錯誤類型。 這個參數設定了屬性 Code 。
- subCode
- SoapFaultSubCode
SoapFaultSubCode A 包含 SOAP 故障元素的內容<subcode>。
- innerException
- Exception
指的是例外的根本原因。 這個參數設定了屬性 InnerException 。
適用於
SoapHeaderException(String, XmlQualifiedName, String, String, String, SoapFaultSubCode, Exception)
初始化一個新的類別實例 SoapHeaderException ,並附帶相關資料。
public:
SoapHeaderException(System::String ^ message, System::Xml::XmlQualifiedName ^ code, System::String ^ actor, System::String ^ role, System::String ^ lang, System::Web::Services::Protocols::SoapFaultSubCode ^ subCode, Exception ^ innerException);
public SoapHeaderException(string message, System.Xml.XmlQualifiedName code, string actor, string role, string lang, System.Web.Services.Protocols.SoapFaultSubCode subCode, Exception innerException);
new System.Web.Services.Protocols.SoapHeaderException : string * System.Xml.XmlQualifiedName * string * string * string * System.Web.Services.Protocols.SoapFaultSubCode * Exception -> System.Web.Services.Protocols.SoapHeaderException
Public Sub New (message As String, code As XmlQualifiedName, actor As String, role As String, lang As String, subCode As SoapFaultSubCode, innerException As Exception)
參數
- code
- XmlQualifiedName
發生的錯誤類型。 這個參數設定了屬性 Code 。
- subCode
- SoapFaultSubCode
SoapFaultSubCode A 包含 SOAP 故障元素的內容subcode。
- innerException
- Exception
指的是例外的根本原因。 這個參數設定了屬性 InnerException 。