ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Desktop.Framework.Contracts Namespace / ConfigurationManager Class / OnExecuteCommand Method
The DAML ID of the executing command.
The command's parent module DAML ID.

In This Topic
    OnExecuteCommand Method (ConfigurationManager)
    In This Topic
    Allows a configuration to reject a command's execution.
    Syntax
    protected internal virtual bool OnExecuteCommand( 
       string cmdID,
       string moduleID
    )
    Protected Friend Overridable Function OnExecuteCommand( _
       ByVal cmdID As String, _
       ByVal moduleID As String _
    ) As Boolean

    Parameters

    cmdID
    The DAML ID of the executing command.
    moduleID
    The command's parent module DAML ID.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also