Sdílet prostřednictvím


WinDataDrivenAdapter Class

 

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

Represents the adapter for Windows applications to manage access between the applications, user interface, and automated entities within UII.

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

Inheritance Hierarchy

System.Object
  Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.DataDrivenAdapterBase
    Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.WinDataDrivenAdapter

Syntax

public class WinDataDrivenAdapter : DataDrivenAdapterBase
Public Class WinDataDrivenAdapter
    Inherits DataDrivenAdapterBase

Constructors

Name Description
System_CAPS_pubmethod WinDataDrivenAdapter(XmlDocument, Object)

Initializes a new instance of the WinDataDrivenAdapter class.

Properties

Name Description
System_CAPS_protproperty AccEventListener

Gets all AccEvent traffic

System_CAPS_protproperty KnownControls

Gets the tables that maintain the association between control names and accessible element identifiers.

Methods

Name Description
System_CAPS_pubmethod Dispose()

Clears up any resources being used.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod Dispose(Boolean)

Cleans up any resources being used.(Overrides DataDrivenAdapterBase.Dispose(Boolean).)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_pubmethod ExecuteControlAction(String, Boolean, String)

Executes the designated action of the named control.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod Finalize()

Destructor for the DataDrivenAdapterBase class.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod FindAccEventsWindow(Boolean)

Finds the window to listen to the accessibility events.

System_CAPS_protmethod FindAccObj(String, Boolean, Int32)

Finds the accessibility object using the control name.

System_CAPS_pubmethod FindControl(String)

Reports whether the named control is available for use.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod FindMenuItem(String, Boolean, IntPtr, Int32, Int32)

Finds the menu item associated with a control.

System_CAPS_protmethod FindWindowFromControlName(String, Boolean)

Finds the window that contains the control.

System_CAPS_pubmethodSystem_CAPS_static GetApplicationEvents()

Gets the list of application events propagated. Intended for design-time use. Custom implementation isn’t required for run-time operation.

System_CAPS_pubmethod GetAvailableApplicationEvents()

Gets the list of application events propagated. Intended for design-time use. Custom implementation isn’t required for run-time operation.(Overrides DataDrivenAdapterBase.GetAvailableApplicationEvents().)

System_CAPS_pubmethod GetAvailableControlEvents()

Gets the list of control events propagated. Intended for design-time use. Custom implementation isn’t required for run-time operation.(Overrides DataDrivenAdapterBase.GetAvailableControlEvents().)

System_CAPS_protmethod GetControlConfig(String)

Gets the subordinate nodes from a top-level XML node of a data-driven adapter control binding.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethodSystem_CAPS_static GetControlEvents()

Gets the list of control events propagated. Intended for design-time use. Custom implementation isn’t required for run-time operation.

System_CAPS_pubmethod GetControlNames()

Gets the control names.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethod GetControlValue(String, String)

Gets the current value of the control.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod GetFirstDescendentUnderControlConfig(String, String)

Retrieves the first descendent node from a top-level XML node of a data-driven adapter control binding.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_protmethod OperationHandler(OperationType, String, String)

Calls to the DataDrivenAdapterBase API to manipulate the UI are dispatched to this handler. Override to implement custom behavior.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod OperationHandler(OperationType, String, String, String)

Calls to the WinDataDrivenAdapter API to manipulate the user interface (UI) are dispatched to this handler.(Overrides DataDrivenAdapterBase.OperationHandler(OperationType, String, String, String).)

System_CAPS_protmethod RaiseEvent(Object, String, String, String)

Raises events where necessary. There is no synchronization context marshalling. Events go out on the thread that raised them. It is the listeners responsibility to perform an application-specific thread marshalling as required.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethod RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

Facilitates explicit data-driven adapter event listener registration.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethod RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>, String)

Facilitates explicit WinDDA event listener registration.(Overrides DataDrivenAdapterBase.RegisterEventListener(String, String, EventHandler<ControlChangedEventArgs>, String).)

System_CAPS_protmethod RegisterEventListenerBase(String, String, EventHandler<ControlChangedEventArgs>)

Adds the specified listenerCallback to the internal list of registered listeners. Once registered, RaiseEvent can then be used to raise the event to the registered listeners.(Inherited from DataDrivenAdapterBase.)

System_CAPS_pubmethod SetControlValue(String, String, String)

Assigns a new value to the named control.(Inherited from DataDrivenAdapterBase.)

System_CAPS_protmethod StartAccEventListenerIfNecessary()

Triggers the instantiation of AccEventListener.

System_CAPS_pubmethod ToString()

(Inherited from Object.)

System_CAPS_pubmethod UnregisterEventListener(String, String, EventHandler<ControlChangedEventArgs>)

Facilitates explicit WinDDA event listener unregistration. Called for every registered event on Dispose().(Overrides DataDrivenAdapterBase.UnregisterEventListener(String, String, EventHandler<ControlChangedEventArgs>).)

System_CAPS_protmethod UnregisterEventListenerBase(String, String, EventHandler<ControlChangedEventArgs>)

Removes the specified listenerCallback from the internal list of registered listeners. Once unregistered, RaiseEvent no longer can be used to raise the event.(Inherited from DataDrivenAdapterBase.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static PREFIX

Specifies the prefix used to identify this data-driven adapter.

Thread Safety

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter Namespace
WinDDA

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright