Share via


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

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.