Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Creates an instance of the PresenceState class.
Namespace: Microsoft.Rtc.Collaboration.Presence
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Sub New ( _
category As PresenceCategoryWithMetaData _
)
'Usage
Dim category As PresenceCategoryWithMetaData
Dim instance As New PresenceState(category)
public PresenceState(
PresenceCategoryWithMetaData category
)
Parameters
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when category is null. |
| ArgumentException | Thrown when category.Name is anything other than PresenceCategoryNames.State or the XML representing category.Category provided is invalid. |