Udostępnij przez


Konstruktor TypeConversionException (String, String, Exception)

Inicjuje nowe wystąpienie TypeConversionException klasy, która ma określony ciąg wejściowy, typ i wewnętrzny wyjątek.

Przestrzeń nazw:  Microsoft.SqlServer.Management.Dmf
Zestaw:  Microsoft.SqlServer.Dmf (w Microsoft.SqlServer.Dmf.dll)

Składnia

'Deklaracja
Public Sub New ( _
    inputString As String, _
    typeName As String, _
    innerException As Exception _
)
'Użycie
Dim inputString As String
Dim typeName As String
Dim innerException As Exception

Dim instance As New TypeConversionException(inputString, _
    typeName, innerException)
public TypeConversionException(
    string inputString,
    string typeName,
    Exception innerException
)
public:
TypeConversionException(
    String^ inputString, 
    String^ typeName, 
    Exception^ innerException
)
new : 
        inputString:string * 
        typeName:string * 
        innerException:Exception -> TypeConversionException
public function TypeConversionException(
    inputString : String, 
    typeName : String, 
    innerException : Exception
)

Parametry

  • inputString
    Typ: System.String
    A String wartość, która określa ciąg wejściowy, który spowodował błąd konwersji typu.
  • typeName
    Typ: System.String
    A String wartość, która określa typ, który spowodował wyjątek.
  • innerException
    Typ: System.Exception
    Exception Obiekt zawierający wewnętrzny wyjątek.Ta jest używana podczas innym wyjątkiem należy podnieść powoduje wyjątek.

Uwagi

Ten obszar nazw, klasa lub element członkowski jest obsługiwany tylko w wersji 2.0 programu Microsoft .NET Framework.