Sets the AgentType for this agent for certain campaign..

Namespace: ININ.IceLib.Dialer
Assembly: ININ.IceLib.Dialer (in ININ.IceLib.Dialer.dll) Version: 0.0.0.0 (22.3.0.208)

Syntax

C#
public void SetAgentType(
	AgentType agentType,
	IEnumerable<CampaignId> campaigns
)
Visual Basic
Public Sub SetAgentType ( _
	agentType As AgentType, _
	campaigns As IEnumerable(Of CampaignId) _
)

Parameters

agentType
Type: ININ.IceLib.Dialer..::..AgentType
The type of agent.
campaigns
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'CampaignId>)>)>
The campaigns in which to set the agent type.

Exceptions

ExceptionCondition
ININ.IceLib.Dialer..::..InvalidDialerSessionExceptionThis DialerSession is no longer valid.
System..::..ArgumentOutOfRangeExceptionThe specified agentType is not from the AgentType enumeration.

See Also