Partager via


XmlSerializationException Constructors

Definition

Overloads

XmlSerializationException()

Initializes a new instance of XmlSerializationException class using the default values.

XmlSerializationException(String)

Initializes a new instance of the XmlSerializationException class using the specified message.

XmlSerializationException(String, Exception)

Initializes a new instance of the XmlSerializationException class using the specified message and inner exception.

XmlSerializationException(String, Exception, Int32, Int32)

Initializes a new instance of the XmlSerializationException class using the specified message and inner exception, as well as error position.

XmlSerializationException()

Initializes a new instance of XmlSerializationException class using the default values.

public XmlSerializationException ();
Public Sub New ()

Applies to

XmlSerializationException(String)

Initializes a new instance of the XmlSerializationException class using the specified message.

public XmlSerializationException (string message);
new Microsoft.AnalysisServices.XmlSerializationException : string -> Microsoft.AnalysisServices.XmlSerializationException
Public Sub New (message As String)

Parameters

message
String

The message that describes the error.

Applies to

XmlSerializationException(String, Exception)

Initializes a new instance of the XmlSerializationException class using the specified message and inner exception.

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

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

Applies to

XmlSerializationException(String, Exception, Int32, Int32)

Initializes a new instance of the XmlSerializationException class using the specified message and inner exception, as well as error position.

public XmlSerializationException (string message, Exception innerException, int lineNumber, int linePosition);
new Microsoft.AnalysisServices.XmlSerializationException : string * Exception * int * int -> Microsoft.AnalysisServices.XmlSerializationException
Public Sub New (message As String, innerException As Exception, lineNumber As Integer, linePosition As Integer)

Parameters

message
String

The message that describes the error.

innerException
Exception

The exception that is the cause of the current exception.

lineNumber
Int32

The line number in XML where the error occured.

linePosition
Int32

The line position number in XML where the error occured.

Applies to