Partilhar via


Note Constructor (PresenceCategoryWithMetaData)

Create an instance of of the Note 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 Note(category)
public Note(
    PresenceCategoryWithMetaData category
)

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown when category is null.

ArgumentException

If category.Name is anything other than the PresenceCategoryNames.Note or the xml representing category.Category provided is invalid.

See Also

Reference

Note Class

Note Members

Note Overload

Microsoft.Rtc.Collaboration.Presence Namespace