PresenceState.CreateInstanceId(RealTimeEndpoint) Method

Definition

Determines the instance id for this category.

protected:
 override long CreateInstanceId(Microsoft::Rtc::Signaling::RealTimeEndpoint ^ endpoint);
protected override long CreateInstanceId (Microsoft.Rtc.Signaling.RealTimeEndpoint endpoint);
override this.CreateInstanceId : Microsoft.Rtc.Signaling.RealTimeEndpoint -> int64
Protected Overrides Function CreateInstanceId (endpoint As RealTimeEndpoint) As Long

Parameters

endpoint
RealTimeEndpoint

Returns

Int64

Remarks

To determine the instance id for the state category, the state type is required as the instance id is a function of the state type. In some cases such as PhoneState, the instance is already determined at the time of construction of the object so there is no need to determine its value again.

Applies to