Konstruktor RegisteredServerException (SerializationInfo, StreamingContext)
Inicjuje wystąpienie RegisteredServerException klasy z określonego obiektu szeregowanego danych i informacji kontekstowych.
Przestrzeń nazw: Microsoft.SqlServer.Management.RegisteredServers
Zestaw: Microsoft.SqlServer.Management.RegisteredServers (w Microsoft.SqlServer.Management.RegisteredServers.dll)
Składnia
'Deklaracja
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Użycie
Dim info As SerializationInfo
Dim context As StreamingContext
Dim instance As New RegisteredServerException(info, context)
protected RegisteredServerException(
SerializationInfo info,
StreamingContext context
)
protected:
RegisteredServerException(
SerializationInfo^ info,
StreamingContext context
)
new :
info:SerializationInfo *
context:StreamingContext -> RegisteredServerException
protected function RegisteredServerException(
info : SerializationInfo,
context : StreamingContext
)
Parametry
- info
Typ: System.Runtime.Serialization.SerializationInfo
A SerializationInfo obiekt, który przechowuje dane obiektu szeregowanego o wyjątek przy.
- context
Typ: System.Runtime.Serialization.StreamingContext
A StreamingContext obiekt, który zawiera informacje kontekstowe o źródło lub docelowy.