Share via


XEventException Constructor

Initializes a new instance of the XEventException class.

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

Syntax

'Declaration
Public Sub New
'Usage
Dim instance As New XEventException()
public XEventException()
public:
XEventException()
new : unit -> XEventException
public function XEventException()

Remarks

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

nulla null reference (Nothing in Visual Basic).

Message

The localized error message string.

See Also

Reference

XEventException Class

XEventException Overload

Microsoft.SqlServer.Management.XEvent Namespace

Other Resources

Handling and Throwing Exceptions