Raised when the local endpoint state changes.

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

Syntax

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

LocalEndpointStateChangedEventArgs)
C#
public event 
EventHandler<

LocalEndpointStateChangedEventArgs> 
StateChanged
Visual C++
public:
 
event 
EventHandler<

LocalEndpointStateChangedEventArgs^>^ 
StateChanged {
	
void 
add (
EventHandler<

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

LocalEndpointStateChangedEventArgs^>^ 
value);
}
JavaScript
function add_
stateChanged(
value);
function remove_
stateChanged(
value);

Remarks

An application must register for this event to know when the endpoint state gets signed out or fails to refresh the registration against a server.

See Also