EventStreamException Constructor (String, Exception)
Initializes a new instance of the EventStreamException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Public Sub New ( _
message As String, _
inner As Exception _
)
'Usage
Dim message As String
Dim inner As Exception
Dim instance As New EventStreamException(message, _
inner)
public EventStreamException(
string message,
Exception inner
)
public:
EventStreamException(
String^ message,
Exception^ inner
)
new :
message:string *
inner:Exception -> EventStreamException
public function EventStreamException(
message : String,
inner : Exception
)
Parameters
- message
Type: System.String
The error message.
- inner
Type: System.Exception
The inner exception.