EventStreamException-Konstruktor (SerializationInfo, StreamingContext)
Initializes a new instance of the EventStreamException class with the specified serialization and context information.
Namespace: Microsoft.SqlServer.XEvent.Linq
Assembly: Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New EventStreamException(info, context)
protected EventStreamException(
SerializationInfo info,
StreamingContext context
)
protected:
EventStreamException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> EventStreamException
protected function EventStreamException(
info : SerializationInfo,
context : StreamingContext
)
Parameter
- info
Typ: System.Runtime.Serialization.SerializationInfo
The serialized object data.
- context
Typ: System.Runtime.Serialization.StreamingContext
The contextual information about the source or destination.