Compartir a través de


CtiAgentStateManager.SetAgentMediaAddress Method

Sets the media endpoint of an agent desktop. This could be a TN, IPAddress or some other method.

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

Usage

'Usage
Dim instance As CtiAgentStateManager
Dim mediaId As String
Dim returnValue As Boolean

returnValue = instance.SetAgentMediaAddress(mediaId)

Syntax

'Declaration
Public Overridable Function SetAgentMediaAddress ( _
    mediaId As String _
) As Boolean
public virtual bool SetAgentMediaAddress (
    string mediaId
)
public:
virtual bool SetAgentMediaAddress (
    String^ mediaId
)
public boolean SetAgentMediaAddress (
    String mediaId
)
public function SetAgentMediaAddress (
    mediaId : String
) : boolean

Parameters

  • mediaId
    Specifies the media ID. TN, IPAddress, or other media target specifier.

Return Value

True if successful, 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

CtiAgentStateManager Class
CtiAgentStateManager Members
Microsoft.Uii.Desktop.Cti.Core Namespace

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