XEventException 构造函数

Initializes a new instance of the XEventException class.

命名空间:  Microsoft.SqlServer.Management.XEvent
程序集:  Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)

语法

声明
Public Sub New
用法
Dim instance As New XEventException()
public XEventException()
public:
XEventException()
new : unit -> XEventException
public function XEventException()

注释

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

nullnull 引用(在 Visual Basic 中为 Nothing).

Message

The localized error message string.

请参阅

参考

XEventException 类

XEventException 重载

Microsoft.SqlServer.Management.XEvent 命名空间

其他资源

Handling and Throwing Exceptions