PresenceCategoryWithMetaData Constructor (Int64, Int32, PresenceCategory)
Creates a new instance of the PresenceCategoryWithMetaData class.
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
instanceId As Long, _
containerId As Integer, _
item As PresenceCategory _
)
'Usage
Dim instanceId As Long
Dim containerId As Integer
Dim item As PresenceCategory
Dim instance As New PresenceCategoryWithMetaData(instanceId, _
containerId, item)
public PresenceCategoryWithMetaData(
long instanceId,
int containerId,
PresenceCategory item
)
Parameters
- instanceId
Type: System.Int64
Instance attribute of the category.
- containerId
Type: System.Int32
ID of the container, where category is published or being published.
- item
Type: Microsoft.Rtc.Collaboration.Presence.PresenceCategory
Data to be used as inner XML for the category.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when item is null. |
ArgumentOutOfRangeException | Thrown when containerId is not within zero and Int16.MaxValue. |
ArgumentOutOfRangeException | Thrown when instanceId is not within zero and Int32.MaxValue. |
See Also
Reference
PresenceCategoryWithMetaData Class
PresenceCategoryWithMetaData Members