Compartilhar via


AgentStateService.GetAgentId Method (String)

Gets the agent's ID for the given phone number.

Namespace: Microsoft.Uii.AifServices
Assembly: Microsoft.Uii.AifServices (in Microsoft.Uii.AifServices.dll)

Usage

'Usage
Dim instance As AgentStateService
Dim phoneNumber As String
Dim returnValue As Guid

returnValue = instance.GetAgentId(phoneNumber)

Syntax

'Declaration
Public Overridable Function GetAgentId ( _
    phoneNumber As String _
) As Guid
public virtual Guid GetAgentId (
    string phoneNumber
)
public:
virtual Guid GetAgentId (
    String^ phoneNumber
)
public Guid GetAgentId (
    String phoneNumber
)
public function GetAgentId (
    phoneNumber : String
) : Guid

Parameters

  • phoneNumber
    Specifies the phone number.

Return Value

Type: Guid

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

AgentStateService Class
AgentStateService Members
Microsoft.Uii.AifServices Namespace

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