Share via


XmlSerializationException Constructor (String, Exception)

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

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

Syntax

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

Dim instance As New XmlSerializationException(message, _
    innerException)
public XmlSerializationException(
    string message,
    Exception innerException
)
public:
XmlSerializationException(
    String^ message, 
    Exception^ innerException
)
new : 
        message:string * 
        innerException:Exception -> XmlSerializationException
public function XmlSerializationException(
    message : String, 
    innerException : Exception
)

Parameters

  • message
    Type: System.String
    A String with the message to display.
  • innerException
    Type: System.Exception
    The inner exception object received with current exception.

See Also

Reference

XmlSerializationException Class

XmlSerializationException Overload

Microsoft.AnalysisServices Namespace