Compartir a través de


XPathException Constructor (String)

Initializes a new instance of the XPathException class with the specified message.

Espacio de nombres: Microsoft.SqlServer.Management.Smo
Ensamblado: Microsoft.SqlServer.SmoEnum (in microsoft.sqlserver.smoenum.dll)

Sintaxis

'Declaración
Public Sub New ( _
    msg As String _
)
public XPathException (
    string msg
)
public:
XPathException (
    String^ msg
)
public XPathException (
    String msg
)
public function XPathException (
    msg : String
)

Parámetros

  • msg
    A String value that specifies the message that is associated with the Xpath exception.

Notas

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Ejemplo

How to: Catch an Exception in Visual Basic .NET

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

XPathException Class
XPathException Members
Microsoft.SqlServer.Management.Smo Namespace

Otros recursos

Handling SMO Exceptions