XEventException 构造函数

包括受保护的成员
包括继承的成员

Initializes a new instance of the XEventException class with a system-supplied message that describes the error.

此成员被重载。有关此成员的完整信息,包括语法、用法和示例,请单击重载列表中的名称。

重载列表

  名称 说明
公共方法 XEventException() Initializes a new instance of the XEventException class.
公共方法 XEventException(String) Initializes a new instance of the XEventException class with a specified message that describes the error.
受保护方法 XEventException(SerializationInfo, StreamingContext) Initializes a new instance of the XEventException class with serialized data.
公共方法 XEventException(String, Exception) Initializes a new instance of the XEventException class with a specified error message and a reference to the inner exception that is the cause of this exception.

页首

请参阅

参考

XEventException 类

Microsoft.SqlServer.Management.XEvent 命名空间