Constructeur XPathException (String, Exception)
Initializes a new instance of the XPathException class with the specified message exception. Ne référencez pas directement ce membre dans votre code. Il prend en charge l'infrastructure SQL Server.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Sub New ( _
msg As String, _
e As Exception _
)
'Utilisation
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
)
Paramètres
- msg
Type : System. . :: . .String
A String that specifies the error message
- e
Type : System. . :: . .Exception
The Exception that threw the XPathException, if any.