CUI.Page.CommandDispatcher Methods

Applies to: SharePoint Foundation 2010

The following table lists the methods of the CUI.Page.CommandDispatcher class.

Methods

Name

Description

callCommandHandler

Calls the specified command handler to execute the command with the specified ID.

callCommandHandlerForEnabled

Determines whether the specified command handler can execute the command with the specified ID.

CommandDispatcher

Initializes a new instance of the CommandDispatcher class.

executeCommand

Executes the command with the specified ID on all of the registered command handlers that can execute the command.

getLastSequenceNumber

Gets the current sequence number of the indexer.

getNextSequenceNumber

Gets the next sequence number of the indexer.

isCommandEnabled

Determines whether any of the registered command handlers can execute the command with the specified ID.

peekNextSequenceNumber

Gets the next sequence number of the indexer without increasing the indexer value.

registerCommandHandler

Registers a command handler for the command with the specified ID.

registerMultipleCommandHandler

Registers a command handler for multiple commands with the specified IDs.

unregisterCommandHandler

Unregisters a command handler for the command with the specified ID.

unregisterMultipleCommandHandler

Unregisters a command handler for multiple commands with the specified IDs.

Applies To

CUI.Page.CommandDispatcher Class

See Also

Reference

CUI.Page Namespace