Construtor XEventException (String)
Initializes a new instance of the XEventException class with a specified message that describes the error.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Public Sub New ( _
message As String _
)
'Uso
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
)
Parâmetros
- message
Tipo: 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.
Comentários
The following table shows the initial property values for an instance of XEventException.
Property |
Value |
---|---|
nulluma referência nula (Nothing no Visual Basic). |
|
The error message string specified in message. |
Consulte também
Referência
Sobrecarregado XEventException
Namespace Microsoft.SqlServer.Management.XEvent