ConversionNotSupportedException Constructor (String, String)

 

Initializes a new instance of the ConversionNotSupportedException class with the specified host and type.

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

Syntax

public ConversionNotSupportedException(
    string host,
    string typeName
)
public:
ConversionNotSupportedException(
    String^ host,
    String^ typeName
)
new : 
        host:string *
        typeName:string -> ConversionNotSupportedException
Public Sub New (
    host As String,
    typeName As String
)

Parameters

  • host
    Type: System.String

    A String value that specifies the host that is associated with the conversion.

  • typeName
    Type: System.String

    A String value that specifies the type that was being converted.

Remarks

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

Examples

Handling SMO Exceptions

See Also

ConversionNotSupportedException Overload
ConversionNotSupportedException Class
Microsoft.SqlServer.Management.Dmf Namespace

Return to top