Asynchronously request that one or more agents be automatically logged in or out of campaigns.

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

Syntax

C#
public void AllocateAgentsAsync(
	Collection<string> agents,
	Collection<CampaignId> campaignsOut,
	Collection<CampaignId> campaignsIn,
	EventHandler<AsyncCompletedEventArgs> callback,
	Object userState
)
Visual Basic
Public Sub AllocateAgentsAsync ( _
	agents As Collection(Of String), _
	campaignsOut As Collection(Of CampaignId), _
	campaignsIn As Collection(Of CampaignId), _
	callback As EventHandler(Of AsyncCompletedEventArgs), _
	userState As Object _
)

Parameters

agents
Type: System.Collections.ObjectModel..::..Collection<(Of <(<'String>)>)>
campaignsOut
Type: System.Collections.ObjectModel..::..Collection<(Of <(<'CampaignId>)>)>
The list of campaigns the agents should be logged out of.
campaignsIn
Type: System.Collections.ObjectModel..::..Collection<(Of <(<'CampaignId>)>)>
The list of campaigns the agents should be logged into.
callback
Type: System..::..EventHandler<(Of <(<'AsyncCompletedEventArgs>)>)>
userState
Type: System..::..Object

See Also