Asynchronously dispositions this call.

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

Syntax

C#
public void CallCompleteAsync(
	CallCompletionParameters callCompletionParameters,
	AsyncCompletedEventHandler completedCallback,
	Object userState
)
Visual Basic
Public Sub CallCompleteAsync ( _
	callCompletionParameters As CallCompletionParameters, _
	completedCallback As AsyncCompletedEventHandler, _
	userState As Object _
)

Parameters

callCompletionParameters
Type: ININ.IceLib.Dialer..::..CallCompletionParameters
The parameters specifying how this call should be dispositioned.
completedCallback
Type: System.ComponentModel..::..AsyncCompletedEventHandler
The callback to invoke when the asynchronous operation completes.
userState
Type: System..::..Object
An object that contains state information for this request.

Remarks

Use this member to complete the call and send the result back to Dialer.

After CallComplete(CallCompletionParameters) has been called, no further Dialer actions can be used on it.

When completed, the completedCallback delegate is invoked on a thread appropriate to the application-model, such as the GUI thread in a UI application. The Error property of the AsyncCompletedEventArgs-derived object passed to the delegate will contain any exceptions thrown while executing the asynchronous task. See the synchronous version of this method for more detailed error information.

Exceptions

ExceptionCondition
System..::..ArgumentNullExceptionA parameter is a null reference (Nothing in Visual Basic).

See Also