Partager via


Constructeur ConversionNotSupportedException (String, String)

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

Espace de noms :  Microsoft.SqlServer.Management.Dmf
Assembly :  Microsoft.SqlServer.Dmf (en Microsoft.SqlServer.Dmf.dll)

Syntaxe

'Déclaration
Public Sub New ( _
    host As String, _
    typeName As String _
)
'Utilisation
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
)

Paramètres

  • 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.

Notes

Cet espace de noms, cette classe ou ce membre est pris en charge uniquement par la version 2.0 de Microsoft .NET Framework.

Exemples

Gestion des exceptions SMO

Voir aussi

Référence

ConversionNotSupportedException Classe

Surcharge ConversionNotSupportedException

Espace de noms Microsoft.SqlServer.Management.Dmf