Compartir a través de


ExternalApplication.AddAction Method

Adds an action to the application's list. An action with id == 1 is the 'default' action and gets called on init. There does not need to be a default action though, just don't have an action with id 1 if you don't want a default.

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

Usage

'Usage
Dim instance As ExternalApplication
Dim id As Integer
Dim name As String
Dim initialization As String

instance.AddAction(id, name, initialization)

Syntax

'Declaration
Public Overrides Sub AddAction ( _
    id As Integer, _
    name As String, _
    initialization As String _
)
public override void AddAction (
    int id,
    string name,
    string initialization
)
public:
virtual void AddAction (
    int id, 
    String^ name, 
    String^ initialization
) override
public void AddAction (
    int id, 
    String name, 
    String initialization
)
public override function AddAction (
    id : int, 
    name : String, 
    initialization : String
)

Parameters

  • id
    Action Id
  • name
    Action Name
  • initialization
    Action init string

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

ExternalApplication Class
ExternalApplication Members
Microsoft.Uii.Csr Namespace

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