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
- endpoint
Type: Microsoft.Rtc.Signaling.RealTimeEndpoint
Return Value
Type: System.Int64
The instance ID that was created.