Partilhar via


PresenceState.CreateInstanceId Method

Determines the instance id for this category.

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

Syntax

'Declaration
Protected Overrides Function CreateInstanceId ( _
    endpoint As RealTimeEndpoint _
) As Long
'Usage
Dim endpoint As RealTimeEndpoint
Dim returnValue As Long

returnValue = Me.CreateInstanceId(endpoint)
protected override long CreateInstanceId(
    RealTimeEndpoint endpoint
)

Parameters

Return Value

Type: System.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.

See Also

Reference

PresenceState Class

PresenceState Members

Microsoft.Rtc.Collaboration.Presence Namespace