EventFileIOException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the EventFileIOException class with specified information and context.
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 EventFileIOException(info, context)
protected EventFileIOException(
SerializationInfo info,
StreamingContext context
)
protected:
EventFileIOException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> EventFileIOException
protected function EventFileIOException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The exception information.
- context
Type: System.Runtime.Serialization.StreamingContext
The context.