Sets the AgentType for this agent for certain campaign..
Namespace: ININ.IceLib.DialerAssembly: 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
Exception | Condition |
---|---|
ININ.IceLib.Dialer..::..InvalidDialerSessionException | This DialerSession is no longer valid. |
System..::..ArgumentOutOfRangeException | The specified agentType is not from the AgentType enumeration. |