Dela via


SqlServerManagementException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the SqlServerManagementException 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 SqlServerManagementException(info, context)
protected SqlServerManagementException(
    SerializationInfo info,
    StreamingContext context
)
protected:
SqlServerManagementException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> SqlServerManagementException
protected function SqlServerManagementException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters