Asynchronously gets the IDs of all campaigns that a given agent is active 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 GetActiveCampaignsForAgentAsync(
	string agentId,
	EventHandler<AsyncCompletedEventArgs<Collection<CampaignId>>> callback,
	Object userState
)
Visual Basic
Public Sub GetActiveCampaignsForAgentAsync ( _
	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