Share via


RegisterForIncomingCall(TCall) Method

Adds an application handler for handling incoming calls of a specific type.

Namespace:  Microsoft.Rtc.Collaboration
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Sub RegisterForIncomingCall(Of TCall As Call) ( _
    incomingCallDelegate As IncomingCallDelegate(Of TCall) _
)
'Usage
Dim instance As LocalEndpoint
Dim incomingCallDelegate As IncomingCallDelegate(Of TCall)

instance.RegisterForIncomingCall(incomingCallDelegate)
public void RegisterForIncomingCall<TCall>(
    IncomingCallDelegate<TCall> incomingCallDelegate
)
where TCall : Call

Type Parameters

  • TCall

Parameters

Remarks

Only one delegate can be registered per type. Subsequent calls to this method will overwrite the previously set value.

See Also

Reference

LocalEndpoint Class

LocalEndpoint Members

Microsoft.Rtc.Collaboration Namespace