Dela via


UtilityException Constructor (SerializationInfo, StreamingContext)

Initializes a new, default instance of the UtilityException class with serialized data.

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

Parameters