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

Visual Basic (Declaration)
Public Event 
AutoAcceptNeeded 
As 
EventHandler(
Of 

AutoAcceptNeededEventArgs)
C#
public event 
EventHandler<

AutoAcceptNeededEventArgs> 
AutoAcceptNeeded
Visual C++
public:
 
event 
EventHandler<

AutoAcceptNeededEventArgs^>^ 
AutoAcceptNeeded {
	
void 
add (
EventHandler<

AutoAcceptNeededEventArgs^>^ 
value);
	
void 
remove (
EventHandler<

AutoAcceptNeededEventArgs^>^ 
value);
}
JavaScript
function add_
autoAcceptNeeded(
value);
function remove_
autoAcceptNeeded(
value);

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