Compartir a través de


HostedControl.AddAction Method

Adds an action for use from one application or the UII core to this application. An action with id of 1 is the default action and is called when initing the application. There is no requirement to have a default action though.

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

Usage

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

instance.AddAction(id, name, initialization)

Syntax

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

Parameters

  • id
    ID of the action.
  • name
    Name of the action.
  • initialization
    Initialization

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

HostedControl Class
HostedControl Members
Microsoft.Uii.Csr Namespace

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