Services Constructor
Create an instance of the Services 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 Services(category)
public Services(
PresenceCategoryWithMetaData category
)
Parameters
- category
Type: Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData
Instance of PresenceCategoryWithMetaData to be parsed.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | Thrown when category or category.Category are null. |
ArgumentException | If category.Name is anything other than the PresenceCategoryNames.Services or the xml representing category.Category provided is invalid. |
Remarks
The service capability is case sensitive and can only the following types are recognized as valid types: calendar, remoteCallControl, voice, video, CCCP, text, gifInk, isfInk, breakthrough and applicationSharing.