NotSupportedException

NotSupportedException


The exception that is thrown when an invoked method is not supported.


Remarks

Generally this exception will be thrown on objects that are set to not allow certain actions to be performed at the moment. An example would be receiving a read-only object of an ArrayList and then attempting to add an item to the list.

See Also

Project VBCorLib Overview | Constructors | ExceptionMethods | Exception

Implements:

Exception 
IObject 
SystemException 

Public:

Properties:

NameDescription
 Data (get)Returns a key/value collection used to contain user-defined specific information about the exception. 
 HelpLink (get)Gets a link to a help file associated with the exception. 
 HelpLink (let)Sets a link to a help file associated with the exception. 
 HResult (get)Gets the HRESULT, a coded numerical value that is assigned to a specific exception. 
 HResult (let)Sets the HRESULT, a coded numerical value that is assigned to a specific exception. 
 InnerException (get)Gets the exception that caused the Subclassed exception to be thrown. 
 Message (get)Gets the error message associated with the Subclass exception. 
 Source (get)Gets a description of the source of the exception. 
 Source (let)Sets a description of the source of the exception. 

Methods:

NameDescription
 EqualsProvides a basic implementation of the Equals function of the IObject interface. 
 GetBaseExceptionGets the original exception that caused the chain of exceptions to occur. 
 GetHashCodeProvides a basic implementation of the GetHashcode function of the IObject interface. 
 ToStringReturns the exception message prepended with the type name of the Subclass Exception.