Compartilhar via


ApplicationHost.ExecuteDefaultActions Method (Boolean)

Runs the default action for every application in this session.

Namespace: Microsoft.Uii.Csr
Assembly: Microsoft.Uii.Csr.Core (in Microsoft.Uii.Csr.Core.dll)

Usage

'Usage
Dim instance As ApplicationHost
Dim taggedApplicationsOnly As Boolean

instance.ExecuteDefaultActions(taggedApplicationsOnly)

Syntax

'Declaration
Public Overridable Sub ExecuteDefaultActions ( _
    taggedApplicationsOnly As Boolean _
)
public virtual void ExecuteDefaultActions (
    bool taggedApplicationsOnly
)
public:
virtual void ExecuteDefaultActions (
    bool taggedApplicationsOnly
)
public void ExecuteDefaultActions (
    boolean taggedApplicationsOnly
)
public function ExecuteDefaultActions (
    taggedApplicationsOnly : boolean
)

Parameters

  • taggedApplicationsOnly
    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.

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.

Platforms

See Also

Reference

ApplicationHost Class
ApplicationHost Members
Microsoft.Uii.Csr Namespace

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