Share via


ApplicationAdapter Class

Definition

Represents the abstract class used to create application adapters.

public ref class ApplicationAdapter abstract : Microsoft::Uii::Csr::HostedApplicationAdapter
public abstract class ApplicationAdapter : Microsoft.Uii.Csr.HostedApplicationAdapter
type ApplicationAdapter = class
    inherit HostedApplicationAdapter
Public MustInherit Class ApplicationAdapter
Inherits HostedApplicationAdapter
Inheritance
ApplicationAdapter

Constructors

ApplicationAdapter()

Initializes a new instance of the ApplicationAdapter class.

Properties

ApplicationInitString

Gets or sets the XML string used to initialize the application.

(Inherited from HostedApplicationAdapter)
DdaApplicationObject

Gets or sets the application object data-driven adapters used to manipulate the application.

(Inherited from HostedApplicationAdapter)
MainWindowHandle

Gets or sets the handle for the main window. This property is designated for integration purposes, may not be the same as Process.MainWindowHandle

Name

Gets or sets the name of the application that the adapter is working with.

(Inherited from HostedApplicationAdapter)
Process

Gets or sets the external process that UII controls.

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)
SessionWorkItem

Gets or sets the work item that identifies the session.

(Inherited from HostedApplicationAdapter)

Methods

AdapterContextChange(Context)

Used by inherited classes to send context change event to UII.

(Inherited from HostedApplicationAdapter)
AdapterFireAction(String, String, String)
Obsolete.

Used by inherited classes to request an action through UII to other applications.

(Inherited from HostedApplicationAdapter)
AdapterFireRequestAction(RequestActionEventArgs)

Used by inherited classes to request an action through UII to other applications.

(Inherited from HostedApplicationAdapter)
AdapterProcessChange(Process)

Used by inherited classes to send process change event to UII

Close()

Called when the application this is working with is being closed by the UII application host. This may not run if the application closes itself.

(Inherited from HostedApplicationAdapter)
DoAction(Action, RequestActionEventArgs)

Called by UII whenever an action is about to be performed on the application.

(Inherited from HostedApplicationAdapter)
DoAction(Action, String)
Obsolete.

Called by UII whenever an action is about to be performed on the application.

(Inherited from HostedApplicationAdapter)
GetStateData(String)

Gets the UII agent's state.

(Inherited from HostedApplicationAdapter)
Initialize()

Initializes the hosted application.

(Inherited from HostedApplicationAdapter)
NotifyContextChange(Context)

Called when the context is changed.

(Inherited from HostedApplicationAdapter)
NotifyContextChange(String)
Obsolete.

Obsolete. Called when the context is changed.

(Inherited from HostedApplicationAdapter)
SessionChange(Boolean, String)

Called by UII whenever the session changes. Only happens for global applications.

(Inherited from HostedApplicationAdapter)
SetStateData(String)

Sets the UII agent's state.

(Inherited from HostedApplicationAdapter)

Events

AdapterContextChangedEvent

Notifies the UII when the adapter changes the context.

(Inherited from HostedApplicationAdapter)
AdapterFireRequestActionEvent

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

(Inherited from HostedApplicationAdapter)
AdapterProcessChangedEvent

Notifies UII that the process has been changed, for example, that a new one was spawned. This can be used within custom adapters to notify UII of changes.

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)

Applies to