Asynchronously flushes contact records from the dialing queue in order to prevent them from being dialed.

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

Syntax

C#
public void FlushContactsAsync(
	IEnumerable<KeyValuePair<string, ConfigurationId>> records,
	EventHandler<AsyncCompletedEventArgs<bool>> completionCallback,
	Object userState
)
Visual Basic
Public Sub FlushContactsAsync ( _
	records As IEnumerable(Of KeyValuePair(Of String, ConfigurationId)), _
	completionCallback As EventHandler(Of AsyncCompletedEventArgs(Of Boolean)), _
	userState As Object _
)

Parameters

records
Type: System.Collections.Generic..::..IEnumerable<(Of <(<'KeyValuePair<(Of <(<'String, ConfigurationId>)>)>>)>)>
A collection of KeyValuePairs containing the I3_Identity of the contact (key) and the Id of the campaign (value) in which it is active
completionCallback
Type: System..::..EventHandler<(Of <(<'AsyncCompletedEventArgs<(Of <(<'Boolean>)>)>>)>)>
The event handler to call upon completion
userState
Type: System..::..Object
The user state

See Also