Asynchronously moves contacts from the contact list into a database table accessible from a Dialer connection.

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 BulkMoveOutAsync(
	HttpRequestKey requestKey,
	SelectCommand command,
	ConnectionConfiguration connection,
	string table,
	IDictionary<DBColumn, DBColumn> columnMapping,
	bool createNewTable,
	IList<DBColumn> extraFields,
	EventHandler<AsyncCompletedEventArgs<int>> callback,
	Object userState
)
Visual Basic
Public Sub BulkMoveOutAsync ( _
	requestKey As HttpRequestKey, _
	command As SelectCommand, _
	connection As ConnectionConfiguration, _
	table As String, _
	columnMapping As IDictionary(Of DBColumn, DBColumn), _
	createNewTable As Boolean, _
	extraFields As IList(Of 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 contact list.
connection
Type: ININ.IceLib.Configuration.Dialer..::..ConnectionConfiguration
The connection under which the destination table resides.
table
Type: System..::..String
The destination table name.
columnMapping
Type: System.Collections.Generic..::..IDictionary<(Of <(<'DBColumn, DBColumn>)>)>
A mapping between the contact list columns and the corresponding columns in the destination table.
createNewTable
Type: System..::..Boolean
true if the destination table needs to be created, false if it already exists. The table's fields are defined by columnMapping.Values and extraFields
extraFields
Type: System.Collections.Generic..::..IList<(Of <(<'DBColumn>)>)>
Any extra fields that should be included in new table creation, but not included in the data transfer process.
callback
Type: System..::..EventHandler<(Of <(<'AsyncCompletedEventArgs<(Of <(<'Int32>)>)>>)>)>
The event handler to call upon completion.
userState
Type: System..::..Object
The user state.

See Also