Compartilhar via


Construtor InvalidSqlServer2005StoreFormatException (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 (em Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxe

'Declaração
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Uso
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
)

Parâmetros

Comentários

Só há suporte para esse namespace, classe ou membro na versão 2.0 do Microsoft .NET Framework.

Exemplos

Manipulando exceções SMO

Consulte também

Referência

InvalidSqlServer2005StoreFormatException Classe

Sobrecarregado InvalidSqlServer2005StoreFormatException

Namespace Microsoft.SqlServer.Management.RegisteredServers