IHostedApplication Interface
Applies To: Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2013, Dynamics CRM 2015, Dynamics CRM 2016
Interface from which hosted applications are derived.
Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)
Syntax
public interface IHostedApplication
Public Interface IHostedApplication
Properties
Name | Description | |
---|---|---|
ApplicationID | Gets the application ID. |
|
ApplicationName | Gets the application name. |
|
CanEmbed | Gets a Boolean value that specifies whether the application is an external application. |
|
DisplayGroup | Gets the display group extracted from the initialization string. |
|
IsNavigating | Get a Boolean value that specifies whether the application is currently navigating. |
|
MinimumSize | Gets a hint for minimum window size. |
|
OptimumSize | Gets a hint for optimal window size. |
|
TopLevelWindow | Gets the top level window for the application. |
Methods
Name | Description | |
---|---|---|
AddAction(Int32, String, String) | Adds an action to the application. |
|
Close() | Closes the application. |
|
DoAction(Int32, String) | Invokes an action on the application |
|
DoAction(String, String) | Obsolete. Invokes an action on the application |
|
DoDefaultAction() | Invokes the default action for the application |
|
GetIconList() | Gets the image list for the application. |
|
GetStateData() | Requests the hosted application to return its current state. |
|
Initialize() | Initializes the hosted application. |
|
NotifyContextChange(String) | Obsolete. Notifies the application that context has changed. |
|
SessionChange(Boolean, Guid) | Called whenever the session is changed. Only global applications receive this since 'local' applications don't need to know if their session is shown or not. |
|
SetStateData(String) | Passes the saved state to the hosted application. |
Events
Name | Description | |
---|---|---|
ActionCompleted | Event to notify the hosted application that the action has completed. |
|
ChangeContext | Event to add a name-value pair to the context. |
|
RequestAction | Event to request an action of another application to be invoked. |
Remarks
Use IHostedApplication4 for new implementations.
See Also
Return to top
Unified Service Desk 2.0
© 2017 Microsoft. All rights reserved. Copyright