Share via


DacException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the DacException class specifying a location to stream serialized information.

Namespace:  Microsoft.SqlServer.Management.Dac
Assembly:  Microsoft.SqlServer.Management.Dac (in Microsoft.SqlServer.Management.Dac.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 DacException(info, context)
protected DacException(
    SerializationInfo info,
    StreamingContext context
)
protected:
DacException(
    SerializationInfo^ info, 
    StreamingContext context
)
new : 
        info:SerializationInfo * 
        context:StreamingContext -> DacException
protected function DacException(
    info : SerializationInfo, 
    context : StreamingContext
)

Parameters

See Also

Reference

DacException Class

DacException Overload

Microsoft.SqlServer.Management.Dac Namespace