XPathException 构造函数 (String, Exception)
Initializes a new instance of the XPathException class with the specified message exception. 不要在您的代码中直接引用此成员。它支持 SQL Server 基础结构。
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Sub New ( _
msg As String, _
e As Exception _
)
用法
Dim msg As String
Dim e As Exception
Dim instance As New XPathException(msg, e)
public XPathException(
string msg,
Exception e
)
public:
XPathException(
String^ msg,
Exception^ e
)
new :
msg:string *
e:Exception -> XPathException
public function XPathException(
msg : String,
e : Exception
)
参数
- msg
类型:System. . :: . .String
A String that specifies the error message
- e
类型:System. . :: . .Exception
The Exception that threw the XPathException, if any.