Register an IWindow with the Interaction Client. Once registered,
this window will appear in the list of choices the user can select to add to their
client user interface.
Namespace: ININ.InteractionClient.AddInAssembly: ININ.InteractionClient.AddIn (in ININ.InteractionClient.AddIn.dll) Version: 0.0.0.0 (22.3.0.218)
Syntax
C# |
---|
void RegisterWindow<TWindow>( WindowRegistrationParameters registrationParameters ) where TWindow : new(), IWindow |
Visual Basic |
---|
Sub RegisterWindow(Of TWindow As {New, IWindow}) ( _ registrationParameters As WindowRegistrationParameters _ ) |
Parameters
- registrationParameters
- Type: ININ.InteractionClient.AddIn..::..WindowRegistrationParameters
The parameters to use when registering the window. Pass in a new instance of this class to specify category and window identifiers (unique IDs) and display names.
Type Parameters
- TWindow
- The Type of the IWindow to register. The specified class must have a default (parameterless) constructor.
Exceptions
Exception | Condition |
---|---|
ININ.InteractionClient.AddIn..::..DuplicateWindowException | Thrown when a window with the same WindowId and CategoryId has already been registered. |