Partilhar via


Construtor XEventException

Initializes a new instance of the XEventException class.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)

Sintaxe

'Declaração
Public Sub New
'Uso
Dim instance As New XEventException()
public XEventException()
public:
XEventException()
new : unit -> XEventException
public function XEventException()

Comentários

This constructor initializes the Message property of the new instance to a system-supplied message that describes the error, which the designer must supply. This message takes into account the current system culture.

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

Property

Value

InnerException

nulluma referência nula (Nothing no Visual Basic).

Message

The localized error message string.

Consulte também

Referência

XEventException Classe

Sobrecarregado XEventException

Namespace Microsoft.SqlServer.Management.XEvent

Outros recursos

Handling and Throwing Exceptions