Freigeben über


DacException Constructor (, )

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

  • info
    Type: SerializationInfo
    The SerializationInfo object to populate with data.
  • context
    Type: StreamingContext
    The StreamingContext object that specifies the destination for the serialization.

See Also

Reference

DacException Class

DacException Overload

Microsoft.SqlServer.Management.Dac Namespace