XmlSerializationException Constructor (String, Exception, Int32, Int32)
Applies To: SQL Server (starting with 2016)
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.Core (in Microsoft.AnalysisServices.Core.dll)
Syntax
public XmlSerializationException(
string message,
Exception innerException,
int lineNumber,
int linePosition
)
public:
XmlSerializationException(
String^ message,
Exception^ innerException,
int lineNumber,
int linePosition
)
new :
message:string *
innerException:Exception *
lineNumber:int *
linePosition:int -> XmlSerializationException
Public Sub New (
message As String,
innerException As Exception,
lineNumber As Integer,
linePosition As Integer
)
Parameters
message
Type: System.StringA String with the message to display.
innerException
Type: System.ExceptionThe inner exception object received with current exception.
lineNumber
Type: System.Int32An Integer value with the line number where the exception occurred.
linePosition
Type: System.Int32An Integer value with the line position where the exception occurred.
See Also
XmlSerializationException Overload
XmlSerializationException Class
Microsoft.AnalysisServices Namespace
Return to top