Share via


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

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.

See Also

Reference

Services Class

Services Members

Microsoft.Rtc.Collaboration.Presence Namespace