Compartir a través de


SmoException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the SmoException class with the specified serialization information and streaming context.

Espacio de nombres:  Microsoft.SqlServer.Management.Smo
Ensamblado:  Microsoft.SqlServer.Smo (en Microsoft.SqlServer.Smo.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 SmoException(info, context)
protected SmoException(
    SerializationInfo info,
    StreamingContext context
)
protected:
SmoException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> SmoException
protected function SmoException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parámetros

Ejemplos

Controlar excepciones SMO

Vea también

Referencia

SmoException Clase

Sobrecarga de SmoException

Espacio de nombres Microsoft.SqlServer.Management.Smo