|
|
The exception that is thrown when you try to call Execute on a plugin who's CanExecute method states that it should be disabled.
Namespace: Autodesk.Navisworks.Api.Plugins
Assembly: Autodesk.Navisworks.Api (in Autodesk.Navisworks.Api.dll)
Syntax
| Visual Basic |
|---|
<SerializableAttribute> _ Public Class ExecuteDisabledException _ Inherits InvalidOperationException |
| C# |
|---|
[SerializableAttribute] public class ExecuteDisabledException : InvalidOperationException |
| Visual C++ |
|---|
[SerializableAttribute] public ref class ExecuteDisabledException : public InvalidOperationException |
Remarks
Normally the framework will call CanExecute before deciding to call Execute.
However plugin 'delay loading' may bypass this check, or an API user may directly call Execute. In such cases it is possible that this exception may be thrown.
Inheritance Hierarchy
System..::..Object
System..::..Exception
System..::..SystemException
System..::..InvalidOperationException
Autodesk.Navisworks.Api.Plugins..::..ExecuteDisabledException
System..::..Exception
System..::..SystemException
System..::..InvalidOperationException
Autodesk.Navisworks.Api.Plugins..::..ExecuteDisabledException