Compartir a través de


IHostedApplication Interface

Definition

Interface from which hosted applications are derived.

public interface class IHostedApplication
public interface IHostedApplication
type IHostedApplication = interface
Public Interface IHostedApplication
Derived

Remarks

Use IHostedApplication4 for new implementations.

Properties

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

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

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.

Applies to