Udostępnij za pośrednictwem


ICtiControl.SetAgentState Method

Sets the agent state to the requested state.

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

Usage

'Usage
Dim instance As ICtiControl
Dim stateChangeRequest As CtiStateRequest
Dim returnValue As Boolean

returnValue = instance.SetAgentState(stateChangeRequest)

Syntax

'Declaration
Function SetAgentState ( _
    stateChangeRequest As CtiStateRequest _
) As Boolean
bool SetAgentState (
    CtiStateRequest stateChangeRequest
)
bool SetAgentState (
    CtiStateRequest^ stateChangeRequest
)
boolean SetAgentState (
    CtiStateRequest stateChangeRequest
)
function SetAgentState (
    stateChangeRequest : CtiStateRequest
) : boolean

Parameters

  • stateChangeRequest
    Specifies the state change request.

Return Value

Type: Boolean
True if the agent’s state was successfully set, otherwise false.

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

ICtiControl Interface
ICtiControl Members
Microsoft.Uii.Desktop.Cti.Core Namespace

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