Freigeben über


CtiCallStateManager.SetCallVariables Method

Sets the call variables into a call.

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

Usage

'Usage
Dim instance As CtiCallStateManager
Dim ctiCallRefCallId As Guid
Dim callVars As Dictionary(Of String, String)
Dim returnValue As Boolean

returnValue = instance.SetCallVariables(ctiCallRefCallId, callVars)

Syntax

'Declaration
Public Function SetCallVariables ( _
    ctiCallRefCallId As Guid, _
    callVars As Dictionary(Of String, String) _
) As Boolean
public bool SetCallVariables (
    Guid ctiCallRefCallId,
    Dictionary<string,string> callVars
)
public:
virtual bool SetCallVariables (
    Guid ctiCallRefCallId, 
    Dictionary<String^, String^>^ callVars
) sealed
public final boolean SetCallVariables (
    Guid ctiCallRefCallId, 
    Dictionary<String,String> callVars
)
public final function SetCallVariables (
    ctiCallRefCallId : Guid, 
    callVars : Dictionary<String,String>
) : boolean

Parameters

  • ctiCallRefCallId
    Specifies the call reference ID
  • callVars
    Specifies the dictionary of name value pairs to set

Return Value

true if sucessfull, false if not

Remarks

This method also updates the call variable in the additional params array of the CallInfoDataStructure for the call. This method calls the SetCallVariable on the ICTI interface, passing in the native call ID and the dictionary.

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

CtiCallStateManager Class
CtiCallStateManager Members
Microsoft.Uii.Desktop.Cti.Core Namespace
CallInfoData Class

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