Compartilhar via


XmlSerializationException Constructor (String, Exception, Int32, Int32)

Initializes a new instance of XmlSerializationException 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

'Declaration
Public Sub New ( _
    message As String, _
    innerException As Exception, _
    lineNumber As Integer, _
    linePosition As Integer _
)
public XmlSerializationException (
    string message,
    Exception innerException,
    int lineNumber,
    int linePosition
)
public:
XmlSerializationException (
    String^ message, 
    Exception^ innerException, 
    int lineNumber, 
    int linePosition
)
public XmlSerializationException (
    String message, 
    Exception innerException, 
    int lineNumber, 
    int linePosition
)
public function XmlSerializationException (
    message : String, 
    innerException : Exception, 
    lineNumber : int, 
    linePosition : int
)

Parameters

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

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

XmlSerializationException Class
XmlSerializationException Members
Microsoft.AnalysisServices Namespace