Partager via


AutomationAdapter Class

 

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

Implements the WF/Automation capability for the hosted application.

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

Inheritance Hierarchy

System.Object
  Microsoft.Uii.Csr.HostedApplicationAdapter
    Microsoft.Uii.HostedApplicationToolkit.AutomationHosting.AutomationAdapter

Syntax

public class AutomationAdapter : HostedApplicationAdapter
Public Class AutomationAdapter
    Inherits HostedApplicationAdapter

Constructors

Name Description
System_CAPS_pubmethod AutomationAdapter()

Initializes a new instance of the AutomationAdapter class.

Properties

Name Description
System_CAPS_pubproperty ApplicationInitString

Gets or sets the XML string used to initialize the application.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubproperty DataDrivenAdapter

Gets or sets the DDA associated with the application

System_CAPS_pubproperty DdaApplicationObject

Gets or sets the application object data-driven adapters used to manipulate the application.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubproperty Name

Gets or sets the name of the application that the adapter is working with.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubproperty SessionId

Gets the session this application instance is on.

System_CAPS_pubproperty SessionID

Gets or sets the ID of the current session. The SessionID is used with global applications to track which session is active.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubproperty SessionWorkItem

Gets or sets the work item that identifies the session.(Inherited from HostedApplicationAdapter.)

Methods

Name Description
System_CAPS_pubmethod AdapterContextChange(Context)

Used by inherited classes to send context change event to UII.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod AdapterFireAction(String, String, String)

Obsolete. Used by inherited classes to request an action through UII to other applications.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod AdapterFireRequestAction(RequestActionEventArgs)

Used by inherited classes to request an action through UII to other applications.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod Close()

Cleans up any resources allocated by the DataDrivenAdapter on application/session shutdown(Overrides HostedApplicationAdapter.Close().)

System_CAPS_pubmethod DoAction(Action, RequestActionEventArgs)

AutomationAdapter implementation of the adapter’s DoAction method.(Overrides HostedApplicationAdapter.DoAction(Action, RequestActionEventArgs).)

System_CAPS_pubmethod DoAction(Action, String)

Obsolete. Called by UII whenever an action is about to be performed on the application.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetStateData(String)

Gets the state data.(Overrides HostedApplicationAdapter.GetStateData(String).)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_pubmethod Initialize()

Initializes the components.(Overrides HostedApplicationAdapter.Initialize().)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod NotifyContextChange(Context)

Generates ContextChanged DDA event from NotifyContextChange AIF event.(Overrides HostedApplicationAdapter.NotifyContextChange(Context).)

System_CAPS_pubmethod NotifyContextChange(String)

Obsolete. Obsolete. Called when the context is changed.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubmethod SessionChange(Boolean, String)

Generates Session[De]activated DDA events from SessionChange AIF event.(Overrides HostedApplicationAdapter.SessionChange(Boolean, String).)

System_CAPS_pubmethod SetStateData(String)

Sets the state data.(Overrides HostedApplicationAdapter.SetStateData(String).)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

Fields

Name Description
System_CAPS_pubfieldSystem_CAPS_static DdaActionAddApplication

Specifies the AddApplication action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionAddDoActionEventTrigger

Specifies the AddDoActionEventTrigger action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionCloseApplication

Specifies the CloseApplication action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionExecuteControlAction

Specifies the ExecuteControlAction action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionFindControl

Specifies the FindControl action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionFocusApplication

Specifies the FocusApplication action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionGetControlValue

Specifies the GetControlValue action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionGetInitstring

Specifies the GetInitString action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionHostApplication

Specifies the HostApplication action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionRemoveDoActionEventTrigger

Specifies the RemoveDoActionEventTrigger action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionSetControlValue

Specifies the SetControlValue action of the DDA.

System_CAPS_pubfieldSystem_CAPS_static DdaActionStartApplication

Specifies the StartApplication action of the DDA.

Events

Name Description
System_CAPS_pubevent AdapterContextChangedEvent

Notifies the UII when the adapter changes the context.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubevent AdapterFireRequestActionEvent

Lets the adapter request that an action be started. This can be used within custom adapters to send UII actions.(Inherited from HostedApplicationAdapter.)

System_CAPS_pubevent AdapterRequestActionEvent

Obsolete. Lets the adapter request that an action be fired. This can be used within custom adapters to send UII actions. Obsolete.(Inherited from HostedApplicationAdapter.)

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.AutomationHosting Namespace

Return to top

Unified Service Desk 2.0

© 2016 Microsoft. All rights reserved. Copyright