Share via


XmlSerializationException Constructor (String, Exception)

 

Applies To: SQL Server (starting with 2016)

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

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

Syntax

public XmlSerializationException(
    string message,
    Exception innerException
)
public:
XmlSerializationException(
    String^ message,
    Exception^ innerException
)
new : 
        message:string *
        innerException:Exception -> XmlSerializationException
Public Sub New (
    message As String,
    innerException As 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

XmlSerializationException Overload
XmlSerializationException Class
Microsoft.AnalysisServices Namespace

Return to top