ApplicationHost.SetApplicationEventHandlers Method (IHostedApplication, Boolean)

 

Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016

Sets the event handlers for the application.

Namespace:   Microsoft.Uii.Csr
Assembly:  Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Syntax

protected virtual void SetApplicationEventHandlers(
    IHostedApplication app,
    bool enable
)
Protected Overridable Sub SetApplicationEventHandlers (
    app As IHostedApplication,
    enable As Boolean
)

Parameters

  • enable
    Type: System.Boolean

    True if event handler is enabled, false otherwise.

Remarks

Used at startup time for the session (and app) and for global applications to change their event handler's to the current session whenever the session switches.

See Also

ApplicationHost Class
Microsoft.Uii.Csr Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright