This documentation is archived and is not being maintained.

'Throw' operand must derive from 'System.Exception' 

The argument supplied to Throw must either be an instance of System.Exception or an instance of a class derived from System.Exception.

Error ID: BC30665

To correct this error

  • Use an argument derived from System.Exception, as in the following example.

    Throw New System.Exception("This is an error.")
    

See Also

Show: