Costruttore XEventException (String)

Initializes a new instance of the XEventException class with a specified message that describes the error.

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
Public Sub New ( _
    message As String _
)
'Utilizzo
Dim message As String 

Dim instance As New XEventException(message)
public XEventException(
    string message
)
public:
XEventException(
    String^ message
)
new : 
        message:string -> XEventException
public function XEventException(
    message : String
)

Parametri

  • message
    Tipo: System.String
    The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.

Osservazioni

The following table shows the initial property values for an instance of XEventException.

Property

Value

InnerException

nullriferimento Null (Nothing in Visual Basic)..

Message

The error message string specified in message.

Vedere anche

Riferimento

XEventException Classe

Overload XEventException

Spazio dei nomi Microsoft.SqlServer.Management.XEvent

Altre risorse

Handling and Throwing Exceptions