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

'Declaration
Public Sub New ( _
    host As String, _
    typeName As String _
)
'Usage
Dim host As String 
Dim typeName As String 

Dim instance As New ConversionNotSupportedException(host, typeName)
public ConversionNotSupportedException(
    string host,
    string typeName
)
public:
ConversionNotSupportedException(
    String^ host, 
    String^ typeName
)
new : 
        host:string * 
        typeName:string -> ConversionNotSupportedException
public function ConversionNotSupportedException(
    host : String, 
    typeName : 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

Reference

ConversionNotSupportedException Class

ConversionNotSupportedException Overload

Microsoft.SqlServer.Management.Dmf Namespace