Share via


TypeMismatchException Class

Definition

Represents the exception that is thrown when errors occurred.

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
Inheritance
TypeMismatchException
Attributes

Constructors

TypeMismatchException()

Initializes a new instance of the TypeMismatchException class with the default property values.

TypeMismatchException(Type, Type)

Initializes a new instance of the TypeMismatchException class with the specified types.

Properties

AssignedType

Gets the assigned type for the exception.

ExistingType

Gets the current type for the exception.

Applies to