Search Results for

    Show / Hide Table of Contents

    Method HandleDocumentsEvents

    HandleDocumentsEvents(Type)

    Starts documents events handling.

    Declaration
    public static void HandleDocumentsEvents(Type inClassType)
    Parameters
    Type Name Description
    Type inClassType

    Type of class implementing IDocumentsEvents interface.

    Remarks

    To handle documents events, one needs to make a class implementing IDocumentsEvents interface, and call this method with that type in the inClassType argument.

    This method creates a new service host, returned afterwards by the DocumentsEventsHost property.

    This method then subscribes to documents events using the SubscribeToEvents(int, string) method.

    This method may only be called when connected to TopSolid, otherwise an exception is thrown.

    In this article
    Back to top
    • Term of use
    • Corporate information
    • Privacy Policy - GDPR

    Copyright ©2025 TopSolid - All rights reserved.