Loupe - Log - Monitor - Resolve
Loupe.Extensibility Namespace / IExtensionDefinitionContext Interface / RegisterSessionCommand Method
A type that implements the ISessionCommand interface.

In This Topic
    RegisterSessionCommand Method
    In This Topic
    Registers the specified type to be a session command for the current extension
    Syntax
    'Declaration
     
    
    Sub RegisterSessionCommand( _
       ByVal command As Type _
    ) 
    void RegisterSessionCommand( 
       Type command
    )

    Parameters

    command
    A type that implements the ISessionCommand interface.
    Remarks

    Types should not be registered more than once, however duplicate registrations will be ignored.

    If the specified type does not implement (directly or through inheritance) the required interface(s) an exception will be thrown.

    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