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
- info
Type: System.Runtime.Serialization.SerializationInfo
The SerializationInfo object to populate with data.
- context
Type: System.Runtime.Serialization.StreamingContext
The StreamingContext object that specifies the destination for the serialization.
See Also