XmlWriteException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| 名称 | 说明 |
|---|---|
| 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
要包含在异常中并向用户显示的其他信息。