Partilhar via


ConferenceInvitation.AutoAcceptNeeded Event

Raised when the conference invitation 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 ConferenceInvitation
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

ConferenceInvitation Class

ConferenceInvitation Members

Microsoft.Rtc.Collaboration Namespace