Sdílet prostřednictvím


DmfException Constructor (SerializationInfo, StreamingContext)

Initializes a new instance of the ExceptionAlreadyRegisteredException class that has the specified serialization information and streaming context.

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

Parameters

Remarks

This namespace, class, or member is supported only in version 2.0 of the Microsoft .NET Framework.

Examples

Handling SMO Exceptions

See Also

Reference

DmfException Class

DmfException Overload

Microsoft.SqlServer.Management.Dmf Namespace