JavaDataDrivenAdapter.UnregisterEventListener Method (String, String, EventHandler<ControlChangedEventArgs>)

 

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

Facilitates explicit JavaDDA event listener unregistration.

Namespace:   Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly:  Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)

Syntax

public override bool UnregisterEventListener(
    string eventName,
    string controlName,
    EventHandler<ControlChangedEventArgs> listenerCallback
)
Public Overrides Function UnregisterEventListener (
    eventName As String,
    controlName As String,
    listenerCallback As EventHandler(Of ControlChangedEventArgs)
) As Boolean

Parameters

  • controlName
    Type: System.String

    Specifies the control name. Event listener registration can be scoped at the DDA control level.

Return Value

Type: System.Boolean

Whether unregistration was successful (duplicate unregistration attempts return false)

See Also

JavaDataDrivenAdapter Class
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright