Compartir a través de


InvalidSqlServer2005StoreFormatException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the InvalidSqlServer2005StoreFormatException class that has the specified serialization information and streaming context.

Espacio de nombres:  Microsoft.SqlServer.Management.RegisteredServers
Ensamblado:  Microsoft.SqlServer.Management.RegisteredServers (en Microsoft.SqlServer.Management.RegisteredServers.dll)

Sintaxis

'Declaración
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

Comentarios

Este espacio de nombres, clase o miembro solamente se admite en la versión 2.0 de Microsoft .NET Framework.

Ejemplos

Controlar excepciones SMO

Vea también

Referencia

InvalidSqlServer2005StoreFormatException Clase

Sobrecarga de InvalidSqlServer2005StoreFormatException

Espacio de nombres Microsoft.SqlServer.Management.RegisteredServers