IncomingCallDelegate<TCall> Delegate

Definition

Represents the delegate signature of a typical handler for an application to handle an incoming call of type TCall.

generic <typename TCall>
 where TCall : Callpublic delegate void IncomingCallDelegate(System::Object ^ sender, CallReceivedEventArgs<TCall> ^ e);
public delegate void IncomingCallDelegate<TCall>(object sender, CallReceivedEventArgs<TCall> e) where TCall : Call;
type IncomingCallDelegate<'Call (requires 'Call :> Call)> = delegate of obj * CallReceivedEventArgs<'Call (requires 'Call :> Call)> -> unit
Public Delegate Sub IncomingCallDelegate(Of TCall)(sender As Object, e As CallReceivedEventArgs(Of TCall))

Type Parameters

TCall

A class derived from Call.

Parameters

sender
Object

The sender object.

e
CallReceivedEventArgs<TCall>

A generic CallReceivedEventArgs that contains the strongly typed call instance.

Remarks

Note that in addition to AudioVideoCall and InstantMessagingCall, an application can implement a custom Call type for a modality other than audio, video or instant messaging.

Applies to