Share via


InstantMessagingCall.AutoAcceptNeeded Event

Raised when the call needs to be automatically accepted by the application.

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

Syntax

'Declaration
Public Event AutoAcceptNeeded As EventHandler(Of AutoAcceptNeededEventArgs)
'Usage
Dim instance As InstantMessagingCall
Dim handler As EventHandler(Of AutoAcceptNeededEventArgs)

AddHandler instance.AutoAcceptNeeded, handler
public event EventHandler<AutoAcceptNeededEventArgs> AutoAcceptNeeded

Remarks

The implementation for this event handler should use a lock object to eliminate a possible race condition between this event being raised on the application's event thread and the application calling BeginAccept(), Decline(), etc on the application's main thread (or any other thread.)

See Also

Reference

InstantMessagingCall Class

InstantMessagingCall Members

Microsoft.Rtc.Collaboration Namespace