PresenceCategory.CreateInstanceId Method

Any category class where instanceId needs to be generated as custom, should override this method. In publication if instanceId is custom, then this method will be invoked.

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

Syntax

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

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

Parameters

Return Value

Type: System.Int64
The instance ID that was created.

See Also

Reference

PresenceCategory Class

PresenceCategory Members

Microsoft.Rtc.Collaboration.Presence Namespace