InvalidSqlServer2005StoreFormatException Constructor (SerializationInfo, StreamingContext)
Initializes a new instance of the InvalidSqlServer2005StoreFormatException class that has the specified serialization information and streaming context.
Namespace: Microsoft.SqlServer.Management.RegisteredServers
Assembly: Microsoft.SqlServer.Management.RegisteredServers (in Microsoft.SqlServer.Management.RegisteredServers.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 InvalidSqlServer2005StoreFormatException(info, context)
protected InvalidSqlServer2005StoreFormatException(
SerializationInfo info,
StreamingContext context
)
protected:
InvalidSqlServer2005StoreFormatException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> InvalidSqlServer2005StoreFormatException
protected function InvalidSqlServer2005StoreFormatException(
info : SerializationInfo,
context : StreamingContext
)
Parameters
- info
Type: System.Runtime.Serialization.SerializationInfo
A SerializationInfo value that specifies the serialization information that is associated with the exception.
- context
Type: System.Runtime.Serialization.StreamingContext
A StreamingContext value that specifies the streaming context that is associated with the exception.
Remarks
This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.
Examples
See Also
Reference
InvalidSqlServer2005StoreFormatException Class