Compartilhar via


Construtor EventStreamException (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 (em Microsoft.SqlServer.XEvent.Linq.dll)

Sintaxe

'Declaração
Public Sub New ( _
    message As String, _
    inner As Exception _
)
'Uso
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
)

Parâmetros

Consulte também

Referência

EventStreamException Classe

Sobrecarregado EventStreamException

Namespace Microsoft.SqlServer.XEvent.Linq