Compartir a través de


ApplicationHost.ExecuteDefaultActions Method

Definition

Overloads

ExecuteDefaultActions(IHostedApplication)

Executes the default action on a single application.

ExecuteDefaultActions(Boolean)

Runs the default action for every application in this session.

ExecuteDefaultActions()

Executes the default actions on all the hosted applications.

ExecuteDefaultActions(IHostedApplication)

Executes the default action on a single application.

public:
 void ExecuteDefaultActions(Microsoft::Uii::Csr::IHostedApplication ^ app);
public void ExecuteDefaultActions (Microsoft.Uii.Csr.IHostedApplication app);
member this.ExecuteDefaultActions : Microsoft.Uii.Csr.IHostedApplication -> unit
Public Sub ExecuteDefaultActions (app As IHostedApplication)

Parameters

app
IHostedApplication

Specifies the application to execute

Applies to

ExecuteDefaultActions(Boolean)

Runs the default action for every application in this session.

public:
 virtual void ExecuteDefaultActions(bool taggedApplicationsOnly);
public virtual void ExecuteDefaultActions (bool taggedApplicationsOnly);
abstract member ExecuteDefaultActions : bool -> unit
override this.ExecuteDefaultActions : bool -> unit
Public Overridable Sub ExecuteDefaultActions (taggedApplicationsOnly As Boolean)

Parameters

taggedApplicationsOnly
Boolean

True - Executes default action on only the tagged global apps and tagged non-global apps. This case occurs when a workflow is started. When a workflow is started, the tagged non-global apps will be freshly loaded so they should execute their default actions. In case of tagged global apps, they should execute the default action only once in their life time. But if they remained hidden (and so no action will be performed on them) till now and coming to visible state first time, then they should execute their default action. False - Execute default action on all kinds of applications. This happens while any session is being created. Then hostedApps will have only the untagged global and untagged non-global applications. As the global applications should execute their default action only once in their lifetime, we let it happen when this app host is associated with global session and we avoid it for non-global sessions.

Applies to

ExecuteDefaultActions()

Executes the default actions on all the hosted applications.

public:
 virtual void ExecuteDefaultActions();
public virtual void ExecuteDefaultActions ();
abstract member ExecuteDefaultActions : unit -> unit
override this.ExecuteDefaultActions : unit -> unit
Public Overridable Sub ExecuteDefaultActions ()

Applies to