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 ContactCard 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 ContactCard(category)
public ContactCard(
PresenceCategoryWithMetaData category
)
Parameters
- category
Type: Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData
The category as received in the presence notification.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown when category or category.Category are null. |
| ArgumentException | If category.Name is anything other than the ContactCard.Name or the xml representing category.Category provided is invalid. |