XmlWriteException 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| XmlWriteException() |
初始化 XmlWriteException 類別的新執行個體。 |
| XmlWriteException(String) |
初始化 XmlWriteException 類別的新執行個體。 |
| XmlWriteException(SerializationInfo, StreamingContext) |
初始化 XmlWriteException 類別的新執行個體。 |
| XmlWriteException(String, Exception) |
初始化 XmlWriteException 類別的新執行個體。 |
XmlWriteException()
XmlWriteException(String)
初始化 XmlWriteException 類別的新執行個體。
public XmlWriteException(string message);
new Microsoft.IdentityModel.Xml.XmlWriteException : string -> Microsoft.IdentityModel.Xml.XmlWriteException
Public Sub New (message As String)
參數
- message
- String
例外中包含額外資訊並顯示給使用者。
適用於
XmlWriteException(SerializationInfo, StreamingContext)
初始化 XmlWriteException 類別的新執行個體。
protected XmlWriteException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.IdentityModel.Xml.XmlWriteException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.IdentityModel.Xml.XmlWriteException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
參數
- info
- SerializationInfo
該 SerializationInfo 是序列化物件資料的儲存。
- context
- StreamingContext
關於來源或目的地的上下文資訊。
適用於
XmlWriteException(String, Exception)
初始化 XmlWriteException 類別的新執行個體。
public XmlWriteException(string message, Exception innerException);
new Microsoft.IdentityModel.Xml.XmlWriteException : string * Exception -> Microsoft.IdentityModel.Xml.XmlWriteException
Public Sub New (message As String, innerException As Exception)
參數
- message
- String
例外中包含額外資訊並顯示給使用者。