Constructors: NewInvalidOperationException

NewInvalidOperationException

Creates a new InvalidOperationException object.



 Public Function NewInvalidOperationException(
	  ByVal Message As String,
	  Optional ByVal InnerException As Exception ) As InvalidOperationException

Parameters

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

Return Values

InvalidOperationException -  A fully created InvalidOperationException object.

Remarks

See Also

Project VBCorLib Overview Class Constructors Overview Constructors Properties Constructors Methods NewInvalidCastException NewIOException