Gets the state of the local endpoint.

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

Syntax

Visual Basic (Declaration)
Public 
ReadOnly 
Property 
State 
As 

LocalEndpointState
C#
public 

LocalEndpointState 
State { 
get; }
Visual C++
public:
property 

LocalEndpointState 
State {
	

LocalEndpointState 
get ();
}
JavaScript
function get_
state();

Remarks

The state of the local endpoint indicates if the endpoint is in a proper state to communicate or collaborate. Note that in advanced scenarios, a local endpoint in "Idle" state can be used to manage conferences of a user for example. It is generally recommended for the local endpoint state to be "established" to communicate and collaborate. Incoming requests will only be received if the endpoint state is "established".

See Also