XmlSerializationException 构造函数 (String, Exception, Int32, Int32)
Initializes a new instance of XmlSerializationException using a message string, the inner Exception received, a line number, and line position.
命名空间: Microsoft.AnalysisServices
程序集: Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)
语法
声明
Public Sub New ( _
message As String, _
innerException As Exception, _
lineNumber As Integer, _
linePosition As Integer _
)
用法
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)
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 function XmlSerializationException(
message : String,
innerException : Exception,
lineNumber : int,
linePosition : int
)
参数
- message
类型:System. . :: . .String
A String with the message to display.
- innerException
类型:System. . :: . .Exception
The inner exception object received with current exception.
- lineNumber
类型:System. . :: . .Int32
An Integer value with the line number where the exception occurred.
- linePosition
类型:System. . :: . .Int32
An Integer value with the line position where the exception occurred.