Run a query to retrieve records from 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 GetContactsAsync(
	HttpRequestKey requestKey,
	SelectCommand command,
	EventHandler<AsyncCompletedEventArgs<Collection<Dictionary<string, Object>>>> callback,
	Object userState
)
Visual Basic
Public Sub GetContactsAsync ( _
	requestKey As HttpRequestKey, _
	command As SelectCommand, _
	callback As EventHandler(Of AsyncCompletedEventArgs(Of Collection(Of Dictionary(Of String, Object)))), _
	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 query to run.
callback
Type: System..::..EventHandler<(Of <(<'AsyncCompletedEventArgs<(Of <(<'Collection<(Of <(<'Dictionary<(Of <(<'String, Object>)>)>>)>)>>)>)>>)>)>
The event handler to call upon completion.
userState
Type: System..::..Object
The user state.

Remarks

The total number of contacts in a paged query can be obtained by checking the RecordsAffected property on command after successful execution.

See Also