HostedWpfControl.AddAction Method

Adds an action for use from one application or the UII core to this application.

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

Usage

'Usage
Dim instance As HostedWpfControl
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
    Specifies the ID of the action.
  • name
    Specifies the name of the action.
  • initialization
    Specifies the initialization

Remarks

An action with ID of 1 is the default action and is called when initiating the application. There is no requirement to have a default action though.

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

HostedWpfControl Class
HostedWpfControl Members
Microsoft.Uii.Csr.Aif.HostedApplication Namespace

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