Asynchronously exports contacts from the contact list into a file or database table.

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 BulkExportAsync(
	HttpRequestKey requestKey,
	SelectCommand command,
	IDataSet destination,
	IDictionary<DBColumn, DBColumn> columnMapping,
	EventHandler<AsyncCompletedEventArgs<int>> callback,
	Object userState
)
Visual Basic
Public Sub BulkExportAsync ( _
	requestKey As HttpRequestKey, _
	command As SelectCommand, _
	destination As IDataSet, _
	columnMapping As IDictionary(Of DBColumn, DBColumn), _
	callback As EventHandler(Of AsyncCompletedEventArgs(Of Integer)), _
	userState As Object _
)

Parameters

requestKey
Type: ININ.IceLib.Configuration.Dialer..::..HttpRequestKey
The request key obtained by calling GetHttpRequestKey(ConfigurationId, ServerType).
command
Type: ININ.IceLib.Configuration.Dialer..::..SelectCommand
The command that determines which contacts are pulled from the call list.
destination
Type: ININ.IceLib.Configuration.Dialer.DataTypes..::..IDataSet
The data set to export the contacts to.
columnMapping
Type: System.Collections.Generic..::..IDictionary<(Of <(<'DBColumn, DBColumn>)>)>
A mapping between contact list columns (keys) and the columns in the destination (values).
callback
Type: System..::..EventHandler<(Of <(<'AsyncCompletedEventArgs<(Of <(<'Int32>)>)>>)>)>
The event handler to call upon completion.
userState
Type: System..::..Object
The user state.

See Also