語言

XmlWriteException 建構函式

定義

多載

名稱 Description
XmlWriteException()

初始化 XmlWriteException 類別的新執行個體。

XmlWriteException(String)

初始化 XmlWriteException 類別的新執行個體。

XmlWriteException(SerializationInfo, StreamingContext)

初始化 XmlWriteException 類別的新執行個體。

XmlWriteException(String, Exception)

初始化 XmlWriteException 類別的新執行個體。

XmlWriteException()

初始化 XmlWriteException 類別的新執行個體。

public XmlWriteException();
Public Sub New ()

適用於

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

例外中包含額外資訊並顯示給使用者。

innerException
Exception

Exception代表例外的根本原因。

適用於