TypeMismatchException 類別

定義

代表發生錯誤時拋出的例外。

public ref class TypeMismatchException : System::Data::DataException
[System.Serializable]
public class TypeMismatchException : System.Data.DataException
[<System.Serializable>]
type TypeMismatchException = class
    inherit DataException
Public Class TypeMismatchException
Inherits DataException
繼承
TypeMismatchException
屬性

建構函式

名稱 Description
TypeMismatchException()

初始化一個新的類別實例 TypeMismatchException ,使用預設屬性值。

TypeMismatchException(Type, Type)

初始化一個新的類別實例 TypeMismatchException ,並使用指定型別。

屬性

名稱 Description
AssignedType

會取得例外的指定類型。

ExistingType

取得例外的當前類型。

適用於