Constructors: NewInvalidCastException

NewInvalidCastException

Creates a new InvalidCaseException object.



 Public Function NewInvalidCastException(
	  ByVal Message As String,
	  Optional ByVal InnerException As Exception ) As InvalidCastException

Parameters

Message
[ByVal] String. A human-readable message explaining the exception.
InnerException
[ByVal] Optional. Exception. An exception that caused this exception.

Return Values

InvalidCastException -  A fully created InvalidCastException object.

Remarks

See Also

Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewIntegers NewInvalidOperationException