Condividi tramite


Costruttore TransferException (SerializationInfo, StreamingContext)

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

Spazio dei nomi  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)

Sintassi

'Dichiarazione
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'Utilizzo
Dim info As SerializationInfo 
Dim context As StreamingContext 

Dim instance As New TransferException(info, context)
protected TransferException(
    SerializationInfo info,
    StreamingContext context
)
protected:
TransferException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> TransferException
protected function TransferException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parametri

  • info
    Tipo: SerializationInfo
    A SerializationInfo system object value that specifies the serialization information associated with the exception.
  • context
    Tipo: StreamingContext
    A StreamingContext system object value that specifies the streaming context associated with the exception.

Vedere anche

Riferimento

TransferException Classe

Overload TransferException

Spazio dei nomi Microsoft.SqlServer.Management.Common