Chat Support
Loupe - Log - Monitor - Resolve
Loupe.Extensibility Namespace / IExtensionDefinitionContext Interface / RegisterGlobalController Method
A type that implements the IGlobalController interface.

In This Topic
    RegisterGlobalController Method
    In This Topic
    Registers the specified type to be the global controller for the current extension. There can be at most one per extension.
    Syntax
    'Declaration
     
    
    Sub RegisterGlobalController( _
       ByVal controller As Type _
    ) 
    void RegisterGlobalController( 
       Type controller
    )

    Parameters

    controller
    A type that implements the IGlobalController interface.
    Remarks

    Only one type can be a global controller for an extension. If the current extension has already registered a global controller and attempts to register another an exception will be thrown.

    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