Compartilhar via


ApplicationHost Members

Hosts the applications, regardless of type, held by a session.

The following tables list the members exposed by the ApplicationHost type.

Public Constructors

  Name Description
  ApplicationHost Overloaded.  

Top

Protected Fields

  Name Description
protected field static allGlobalApps Specifies all the global applications (both tagged and untagged)
protected field static allGlobalAppsLoaded Specifies whether all the global applications are loaded or not.
protected field configurationReader Retrieves the application settings from the configuration/server.
protected field static globalHostedApps Specifies the global applications.
protected field hostedApps Specifies the array of hosted applications.
protected field static initializedApps Specifies the initialized global applications.
protected field initializedNonGlobalApps Specifies the initialized non-global applications.
protected field static taggedGlobalApps Specifies the tagged global applications
protected field untaggedNonGlobalApps Specifies the untagged non-global applications

Top

Public Properties

(see also Protected Properties)

  Name Description
public property ApplicationHostID Gets the application host's unique ID.
public property ContextID Gets or sets the ID of the context
public property Count Gets the count of the hosted applcations.
public property IsSynchronized Gets or sets a Boolean value that specifies whether the application is synchronized.
public property Item Gets the application at the specified index.
public property SyncRoot Gets the sync root object.

Top

Protected Properties

  Name Description
protected property AppRecords Gets or sets the application definitions as returned from the web service.
protected property contextObject Gets or sets the context object.
protected property contextObjectCache Gets or sets the context object cache.
protected property contextObjectFilled Gets a Boolean value that specifies whether the context is filled or not.
protected property globalAppHost Gets or sets a Boolean value that specifies whether application is a global application host.

Top

Public Methods

(see also Protected Methods)

  Name Description
public method AddDynamicApplication Adds an a dynamic application to the application host
public method CanCloseDynamicApplication Determines whether the dynamic application can be closed dynamically (either via code or UI).
public method ClearContext Clears the local copy of the context. Does not send the context to the backend systems. This is originally for closing context on application sessions which have ended.
public method Close Closes the non-global applications.
public method CopyTo Copies all the elements of the current one dimensional System.Array to specified one dimensional System.Array starting at the specified destination System.Array Index
public method CreateContext Overloaded.  
public method Equals  (inherited from Object)
public method ExecuteDefaultActions Overloaded.  
public method GetApplication Overloaded.  
public method GetApplicationInitializationXml Retrieves the XML initialization string used for a given application.
public method GetApplicationName Gets the name of the application for the given application ID.
public method GetApplications Retrieves the contained set of hosted applications.
public method GetContext Retrieves the context string.
public method GetDynamicApplicationNames Retrieves the names of all the global or non-global applications that are configured via the CRM admin page to show in UI menu.
public method GetEnumerator Retrieves an enumerator that can iterate through a collection.
public method GetExtendedApplicationbyID Gets an extended application by its application id
public method GetHashCode  (inherited from Object)
public method GetIsolatedApplicationbyID Gets an isolated application by its application ID.
public method GetType  (inherited from Object)
public method HandleActionCompletedEvent This is for internal UII use only. Please do not use directly. Public visibility necessary for CAB integration.
public method HandleRequestActionStatusEvent Event handler for status of the requested action
public method InitializeApplications Overloaded.  
public method IsDynamicApplication Determines whether the hosted application is dynamic.
public method IsExtendedApplication Determines whether the hosted application is an extended application or not
public method IsGlobalApplication Overloaded.  
public method IsGlobalDynamicApplication Determines whether the dynamic application is global.
public method IsHiddenGlobalDynamicApp Determines whether the dynamic global application is hidden.
public method IsImplicitAifAction Determines whether the action is an implicit action.
public method IsIsolatedApplication Determines whether the passed in hosted application is an isolated application.
public method IsNavigationComplete Determined whether the navigation is complete.
public method IsNonGlobalDynamicApplication Determines whether the dynamic application is non-global.
public method IsTaggedApplication Determines whether application is a tagged (global or non-global) application
public method IsTaggedGlobalApplication Overloaded.  
public method IsTaggedNonGlobalApplication Overloaded.  
public method LoadApplications Dynamically loads/unloads hosted applications depending on the status of workflows.
public method LoadDynamicApplication Overloaded.  
public method NotifyContextChange Overloaded.  
public method QueryInterface Checks whether a particular application implements a specified interface.
public method RequiresApplicationsReload Checks whether all the apps required by the workflow are already loaded and visible.
public method SessionChange Handles changing sessions
public methodstatic SessionClose Called when a session is closed to tell ISessionController implementing applications a session has been closed.
public methodstatic SessionOpen Called when a session is opened to tell ISessionController implementing applications that a session has been opened.
public method SetContext Sets the context.
public method ToString  (inherited from Object)
public method UnloadDynamicApplication Unloads the dynamic hosted application.

Top

Protected Methods

  Name Description
protected method Finalize  (inherited from Object)
protected method HandleActionCompleted Event handlers for hosted apps Obsolete.
protected method HandleChangeContext All applications, as well as ApplicationHost, share the same instance of context so we don't have to overwrite it b/c everyone is updating the same instance. Obsolete.
protected method HandleIsolatedFormSelected Handler for form selected event
protected method HandleRequestAction Event handler for the RequestAction event raised by a HostedApplication. Obsolete.
protected method HandleStateChanged Event handler for when the workItem state (context) has changed.
protected method InitializeProxies Creates the web service proxies.
protected method invalidateContextObjectCache Invalidates the context object cache.
protected method MemberwiseClone  (inherited from Object)
protected method RequiresContextChangeNotification Determines whether a given application is need to be notified with the change in the context.
protected method SetApplicationEventHandlers Sets the event handlers for the application.
protected method setContextNoNotify Sets the context but does not notify each application

Top

Public Events

  Name Description
public event ActionCompleted Raised when an action is completed.
public event CurrentContextChange Raised when context information is changed by some application.
public event IsolatedFormSelected Event handler for the FormSelected event from IHostedAppUICommand interface of the isolated applications.
public event RequestActionStatus Eventhandler for the status of the request action specifically used for Winform application.
public event RequestApplicationAdditionFromAutomation Event handler for the request application addition from automation.
public event RequestApplicationClose Handler to notify others that an application is closing.
public event RequestApplicationCloseFromAutomation Raised when requesting hosted within the UI to be closed by an automation.
public event RequestApplicationCreation Raised when requesting a new application to be created and hosted within UII.
public event RequestApplicationCreationFromAutomation Raised when requesting a new application to be created by an automation and hosted within UII.
public event RequestBeforeApplicationCreation Raised when requesting a new application to be created and hosted within UII.
public event RequestDefaultAction Raised on default action
public event RequestFocus Raised to request the focus to a specific application.
public event SessionChanged Raised when a session is changed.
public event SessionClosed Raised when a session is closed.
public event SessionOpened Raised when a session is opened.

Top

See Also

Reference

ApplicationHost Class
Microsoft.Uii.Csr Namespace

Unified Service Desk
Send comments about this topic to Microsoft.
© 2015 Microsoft. All rights reserved.