XmlSerializationException Constructor (String, Exception, Int32, Int32)

Initializes a new instance of XmlSerializationException class using a message string, the inner Exception received, a line number, and line position.

Namespace:  Microsoft.AnalysisServices
Assembly:  Microsoft.AnalysisServices (in Microsoft.AnalysisServices.dll)

Syntax

VB
'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    lineNumber As Integer, _
    linePosition As Integer _
)
'Usage
Dim message As String 
Dim innerException As Exception 
Dim lineNumber As Integer 
Dim linePosition As Integer 

Dim instance As New XmlSerializationException(message, _
    innerException, lineNumber, linePosition)

Parameters

  • message
    Type: System.String
    A String with the message to display.
  • innerException
    Type: System.Exception
    The inner exception object received with current exception.
  • lineNumber
    Type: System.Int32
    An Integer value with the line number where the exception occurred.
  • linePosition
    Type: System.Int32
    An Integer value with the line position where the exception occurred.

See Also

Reference

XmlSerializationException Class

XmlSerializationException Overload

Microsoft.AnalysisServices Namespace