Udostępnij za pośrednictwem


CtiHostedControl.ExecuteGenericCommand Method

Generic command handler. If the command does not exist in the currnet interface it can be extended via this interface.

Namespace: Microsoft.Uii.Desktop.Cti.Controls
Assembly: Microsoft.Uii.Desktop.Cti.Controls (in Microsoft.Uii.Desktop.Cti.Controls.dll)

Usage

'Usage
Dim instance As CtiHostedControl
Dim commandName As String
Dim commandData As CtiCommandRequest
Dim returnValue As String

returnValue = instance.ExecuteGenericCommand(commandName, commandData)

Syntax

'Declaration
Public MustOverride Function ExecuteGenericCommand ( _
    commandName As String, _
    commandData As CtiCommandRequest _
) As String
public abstract string ExecuteGenericCommand (
    string commandName,
    CtiCommandRequest commandData
)
public:
virtual String^ ExecuteGenericCommand (
    String^ commandName, 
    CtiCommandRequest^ commandData
) abstract
public abstract String ExecuteGenericCommand (
    String commandName, 
    CtiCommandRequest commandData
)
public abstract function ExecuteGenericCommand (
    commandName : String, 
    commandData : CtiCommandRequest
) : String

Parameters

  • commandName
    Specifies the name of the command to execute.
  • commandData
    Specifies the command data.

Return Value

User defiend response

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

CtiHostedControl Class
CtiHostedControl Members
Microsoft.Uii.Desktop.Cti.Controls Namespace

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