Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Extensibility.Client Namespace / ILogMessageCommand Interface / BeforeCommandsDisplay Method
The User Interface context that is hosting the command
The selected messages.

In This Topic
    BeforeCommandsDisplay Method (ILogMessageCommand)
    In This Topic
    Called just prior to displaying the list of commands to a user on a set of messages.
    Syntax
    'Declaration
     
    
    Sub BeforeCommandsDisplay( _
       ByVal context As IUserInterfaceContext, _
       ByVal messages As IList(Of ILogMessage) _
    ) 
    void BeforeCommandsDisplay( 
       IUserInterfaceContext context,
       IList<ILogMessage> messages
    )

    Parameters

    context
    The User Interface context that is hosting the command
    messages
    The selected messages.
    Remarks

    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.

    Requirements

    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

    See Also