Asynchronously imports contacts from a data set into the contact list.

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 BulkImportAsync(
	HttpRequestKey requestKey,
	IDataSet source,
	IDictionary<DBColumn, DBColumn> columnMapping,
	EventHandler<AsyncCompletedEventArgs<int>> completionCallback,
	Object state
)
Visual Basic
Public Sub BulkImportAsync ( _
	requestKey As HttpRequestKey, _
	source As IDataSet, _
	columnMapping As IDictionary(Of DBColumn, DBColumn), _
	completionCallback As EventHandler(Of AsyncCompletedEventArgs(Of Integer)), _
	state As Object _
)

Parameters

requestKey
Type: ININ.IceLib.Configuration.Dialer..::..HttpRequestKey
The request key obtained by calling GetHttpRequestKey(ConfigurationId, ServerType).
source
Type: ININ.IceLib.Configuration.Dialer.DataTypes..::..IDataSet
The data set to to pull records from.
columnMapping
Type: System.Collections.Generic..::..IDictionary<(Of <(<'DBColumn, DBColumn>)>)>
A mapping between the data source columns (keys) and the contact list columns (values).
completionCallback
Type: System..::..EventHandler<(Of <(<'AsyncCompletedEventArgs<(Of <(<'Int32>)>)>>)>)>
The event handler to call upon completion.
state
Type: System..::..Object
The user state.

Remarks

If the contact list does not have an associated table, a new table will be created .

See Also