UIADataDrivenAdapter.RegisterEventListener Method (String, String, EventHandler<ControlChangedEventArgs>, String)
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Registers for the event listener.
Namespace: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter
Assembly: Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter (in Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.dll)
Syntax
public override bool RegisterEventListener(
string eventName,
string controlName,
EventHandler<ControlChangedEventArgs> listenerCallback,
string data
)
Public Overrides Function RegisterEventListener (
eventName As String,
controlName As String,
listenerCallback As EventHandler(Of ControlChangedEventArgs),
data As String
) As Boolean
Parameters
eventName
Type: System.StringSpecifies the name of the event.
controlName
Type: System.StringSpecifies name of the control.
listenerCallback
Type: System.EventHandler<ControlChangedEventArgs>Specifies the call back listener.
data
Type: System.StringSpecifies the data.
Return Value
Type: System.Boolean
Type: Boolean
True if the registration was successful, otherwise false.
See Also
RegisterEventListener Overload
UIADataDrivenAdapter Class
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright