Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the ConnectionException class with the specified serialization information and streaming context.
Namespace: Microsoft.SqlServer.Management.Common
Assembly: Microsoft.SqlServer.ConnectionInfo (in Microsoft.SqlServer.ConnectionInfo.dll)
Syntax
'Declaration
Protected Sub New ( _
info As SerializationInfo, _
context As StreamingContext _
)
'Usage
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
)
Parameters
- info
Type: SerializationInfo
A SerializationInfo system object that specifies the serialization information for the exception.
- context
Type: StreamingContext
A StreamingContext system object that specifies the streaming context for the exception.