共用方式為


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

'宣告
Protected Sub New ( _
    info As SerializationInfo, _
    context As StreamingContext _
)
'用途
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