Gets the IDs of all active campaigns that a given agent is eligible to participate in.

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 GetEligibleCampaignsForAgentAsync(
	string agentId,
	EventHandler<AsyncCompletedEventArgs<Collection<CampaignId>>> callback,
	Object userState
)
Visual Basic
Public Sub GetEligibleCampaignsForAgentAsync ( _
	agentId As String, _
	callback As EventHandler(Of AsyncCompletedEventArgs(Of Collection(Of CampaignId))), _
	userState As Object _
)

Parameters

agentId
Type: System..::..String
The agent ID
callback
Type: System..::..EventHandler<(Of <(<'AsyncCompletedEventArgs<(Of <(<'Collection<(Of <(<'CampaignId>)>)>>)>)>>)>)>
userState
Type: System..::..Object

Return Value

A list of CampaignIds

See Also