Compartilhar via


WebDataDrivenAdapter Class

 

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

Represents the data driven adapter for interacting with the controls on a webpage.

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.WebDataDrivenAdapter

Syntax

public class WebDataDrivenAdapter : DataDrivenAdapterBase
Public Class WebDataDrivenAdapter
    Inherits DataDrivenAdapterBase

Constructors

Name Description
System_CAPS_pubmethod WebDataDrivenAdapter(XmlDocument, Object)

Initializes a new instance of the WebDataDrivenAdapter class.

Properties

Name Description
System_CAPS_protproperty Browser

System_CAPS_protproperty CurrentHtmlDocument

Gets or sets the current selected HTML document.

System_CAPS_protproperty IsCurrentHtmlDocumentAvailable

Gets the Boolean value that specifies whether the current HTML document is available.

System_CAPS_protproperty WebBrowser

Obsolete. Gets or sets the instance of the web browser control provided to the constructor.

System_CAPS_protproperty WebBrowserHtmlDocument

Gets the HTLM document of the web browser object.

Methods

Name Description
System_CAPS_pubmethod Dispose()

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

System_CAPS_protmethod Dispose(Boolean)

Overridden. Unregisters the event listeners.(Inherited from DataDrivenAdapterBase.)

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_pubmethod FindControl(String)

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

System_CAPS_protmethod FindControlHtmlElement(String, Boolean)

Finds the operable HTML elements.

System_CAPS_pubmethodSystem_CAPS_static GetApplicationEvents()

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

System_CAPS_pubmethod GetAvailableApplicationEvents()

Gets the list of application events propagated. Intended for design-time use. Custom implementation not 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 not 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 not 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 WebDataDrivenAdapter API to manipulate the 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 WebDDA 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_pubmethod ToString()

(Inherited from Object.)

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

Facilitates explicit WebDDA 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 the 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
WebDDA

Return to top

Unified Service Desk 2.0

© 2017 Microsoft. All rights reserved. Copyright