共用方式為


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