IncomingCallDelegate<TCall> Delegate
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
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.