Compartir a través de


ConnectionException Constructor (SerializationInfo, StreamingContext)

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

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

Parámetros