TypeMismatchException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.