XmlSerializationException 构造函数 (String, Exception)

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

命名空间:  Microsoft.AnalysisServices
程序集:  Microsoft.AnalysisServices(在 Microsoft.AnalysisServices.dll 中)

语法

声明
Public Sub New ( _
    message As String, _
    innerException As Exception _
)
用法
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
)

参数

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

请参阅

参考

XmlSerializationException 类

XmlSerializationException 重载

Microsoft.AnalysisServices 命名空间