IncomingCallDelegate<TCall> Delegate
Represents the delegate signature of a typical handler for an application to handle an incoming call of type TCall.
Namespace: Microsoft.Rtc.Collaboration
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Delegate Sub IncomingCallDelegate(Of TCall As Call) ( _
sender As Object, _
e As CallReceivedEventArgs(Of TCall) _
)
'Usage
Dim instance As New IncomingCallDelegate(Of TCall)(AddressOf HandlerMethod)
public delegate void IncomingCallDelegate<TCall>(
Object sender,
CallReceivedEventArgs<TCall> e
)
where TCall : Call
Type Parameters
- TCall
A class derived from Call.
Parameters
- sender
Type: System.Object
The sender object.
- e
Type: Microsoft.Rtc.Collaboration.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.