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

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

    Parameters

    controller
    A type that implements the IRepositoryController interface.
    Remarks

    Only one type can be a repository controller for an extension. If the current extension has already registered a repository 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