EventFileInvalidException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the EventFileInvalidException class with 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 EventFileInvalidException(info, context)
protected EventFileInvalidException(
SerializationInfo info,
StreamingContext context
)
protected:
EventFileInvalidException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> EventFileInvalidException
protected function EventFileInvalidException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
The serialization.
- context
Type: System.Runtime.Serialization.StreamingContext
The context information.
See Also
Reference
EventFileInvalidException Class