ArcGIS Pro 3.6 API Reference Guide
ArcGIS.Desktop.Workflow.Client.Events Namespace / JobMessageEvent Class / Subscribe Method
The action to call when subscribing
A boolean indicating whether or not to keep the subscriber alive. Default is false

In This Topic
    Subscribe Method (JobMessageEvent)
    In This Topic
    A method called to subscribe to the message event.
    Syntax

    Parameters

    action
    The action to call when subscribing
    keepSubscriberAlive
    A boolean indicating whether or not to keep the subscriber alive. Default is false

    Return Value

    the subscription token for the message
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.6 or higher.
    See Also