Freigeben über


XmlReadException Constructors

Definition

Overloads

XmlReadException()

Initializes a new instance of the XmlReadException class.

XmlReadException(String)

Initializes a new instance of the XmlReadException class.

XmlReadException(SerializationInfo, StreamingContext)

Initializes a new instance of the XmlReadException class.

XmlReadException(String, Exception)

Initializes a new instance of the XmlReadException class.

XmlReadException()

Initializes a new instance of the XmlReadException class.

public XmlReadException ();
Public Sub New ()

Applies to

XmlReadException(String)

Initializes a new instance of the XmlReadException class.

public XmlReadException (string message);
new Microsoft.IdentityModel.Xml.XmlReadException : string -> Microsoft.IdentityModel.Xml.XmlReadException
Public Sub New (message As String)

Parameters

message
String

Addtional information to be included in the exception and displayed to user.

Applies to

XmlReadException(SerializationInfo, StreamingContext)

Initializes a new instance of the XmlReadException class.

protected XmlReadException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.IdentityModel.Xml.XmlReadException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.IdentityModel.Xml.XmlReadException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

the SerializationInfo that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

XmlReadException(String, Exception)

Initializes a new instance of the XmlReadException class.

public XmlReadException (string message, Exception innerException);
new Microsoft.IdentityModel.Xml.XmlReadException : string * Exception -> Microsoft.IdentityModel.Xml.XmlReadException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Addtional information to be included in the exception and displayed to user.

innerException
Exception

A Exception that represents the root cause of the exception.

Applies to