Initializes a new instance of the XEventException class with a specified message that describes the error.
命名空间: Microsoft.SqlServer.Management.XEvent
程序集: Microsoft.SqlServer.Management.XEvent(在 Microsoft.SqlServer.Management.XEvent.dll 中)
语法
声明
Public Sub New ( _
message As String _
)
用法
Dim message As String
Dim instance As New XEventException(message)
public XEventException(
string message
)
public:
XEventException(
String^ message
)
new :
message:string -> XEventException
public function XEventException(
message : String
)
参数
- message
类型:System.String
The message that describes the exception. The caller of this constructor is required to ensure that this string has been localized for the current system culture.
注释
The following table shows the initial property values for an instance of XEventException.
Property |
Value |
---|---|
nullnull 引用(在 Visual Basic 中为 Nothing). |
|
The error message string specified in message. |
请参阅
参考
Microsoft.SqlServer.Management.XEvent 命名空间