Parameters
- context
- The User Interface context that is hosting the command
- messages
- The selected messages.
Use this method to change what commands are available or what their labels should be prior to being displayed.
The set of messages will always contain at least one value and be from the same session.
The controller should not be persisted or accessed between calls, it may change and the same object may get calls from multiple controllers.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2