HostedApplicationAdapter Class
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Abstract class used by User Interface Integration (UII) developers to create custom adapters for external applications.
Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Inheritance Hierarchy
System.Object
Microsoft.Uii.Csr.HostedApplicationAdapter
Microsoft.Uii.Csr.ApplicationAdapter
Microsoft.Uii.Csr.WebApplicationAdapter
Microsoft.Uii.HostedApplicationToolkit.AutomationHosting.AutomationAdapter
Microsoft.Uii.HostedApplicationToolkit.DataDrivenAdapter.DdaAutomationAdapter
Syntax
public abstract class HostedApplicationAdapter
Public MustInherit Class HostedApplicationAdapter
Constructors
Name | Description | |
---|---|---|
HostedApplicationAdapter() | Initializes a new instance of the HostedApplicationAdapter class. |
Properties
Name | Description | |
---|---|---|
ApplicationInitString | Gets or sets the XML string used to initialize the application. |
|
DdaApplicationObject | Gets or sets the application object data-driven adapters used to manipulate the application. |
|
Name | Gets or sets the name of the application that the adapter is working with. |
|
SessionID | Gets or sets the ID of the current session. The SessionID is used with global applications to track which session is active. |
|
SessionWorkItem | Gets or sets the work item that identifies the session. |
Methods
Name | Description | |
---|---|---|
AdapterContextChange(Context) | Used by inherited classes to send context change event to UII. |
|
AdapterFireAction(String, String, String) | Obsolete. Used by inherited classes to request an action through UII to other applications. |
|
AdapterFireRequestAction(RequestActionEventArgs) | Used by inherited classes to request an action through UII to other applications. |
|
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. |
|
DoAction(Action, RequestActionEventArgs) | Called by UII whenever an action is about to be performed on the application. |
|
DoAction(Action, String) | Obsolete. Called by UII whenever an action is about to be performed on the application. |
|
Equals(Object) | (Inherited from Object.) |
|
Finalize() | (Inherited from Object.) |
|
GetHashCode() | (Inherited from Object.) |
|
GetStateData(String) | Gets the UII agent's state. |
|
GetType() | (Inherited from Object.) |
|
Initialize() | Initializes the hosted application. |
|
MemberwiseClone() | (Inherited from Object.) |
|
NotifyContextChange(Context) | Called when the context is changed. |
|
NotifyContextChange(String) | Obsolete. Obsolete. Called when the context is changed. |
|
SessionChange(Boolean, String) | Called by UII whenever the session changes. Only happens for global applications. |
|
SetStateData(String) | Sets the UII agent's state. |
|
ToString() | (Inherited from Object.) |
Events
Name | Description | |
---|---|---|
AdapterContextChangedEvent | Notifies the UII when the adapter changes the context. |
|
AdapterFireRequestActionEvent | Lets the adapter request that an action be started. This can be used within custom adapters to send UII actions. |
|
AdapterRequestActionEvent | Obsolete. Lets the adapter request that an action be fired. This can be used within custom adapters to send UII actions. Obsolete. |
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
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright