TypeMismatchException Constructors

Definition

Initializes a new instance of the TypeMismatchException class.

Overloads

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.

TypeMismatchException()

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

public:
 TypeMismatchException();
public TypeMismatchException();
Public Sub New ()

Applies to

TypeMismatchException(Type, Type)

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

public:
 TypeMismatchException(Type ^ existingType, Type ^ assignedType);
public TypeMismatchException(Type existingType, Type assignedType);
new Microsoft.SqlServer.Management.Data.TypeMismatchException : Type * Type -> Microsoft.SqlServer.Management.Data.TypeMismatchException
Public Sub New (existingType As Type, assignedType As Type)

Parameters

existingType
Type

A specified type that is currently in use.

assignedType
Type

A specified type that is assigned to the property.

Applies to