Creates a new instance of the
PresenceCategoryWithMetaData class.
Namespace:
Microsoft.Rtc.Collaboration.Presence
Assembly:
Microsoft.Rtc.Collaboration(in
Microsoft.Rtc.Collaboration.dll)
Syntax
Visual Basic (Declaration) |
Public
Sub
New ( _
instanceId
As
Long, _
containerId
As
Integer, _
item
As
PresenceCategory _
)
|
C# |
public
PresenceCategoryWithMetaData(
long
instanceId,
int
containerId,
PresenceCategory
item
)
|
Visual C++ |
public:
PresenceCategoryWithMetaData(
long long
instanceId,
int
containerId,
PresenceCategory^
item
)
|
JavaScript |
Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData
=
function(
instanceId,
containerId,
item);
|
Exceptions
Exception |
Condition |
ArgumentNullException
|
Thrown when
itemis null. |
ArgumentOutOfRangeException
|
Thrown when
containerIdis not within zero and
Int16.MaxValue. |
ArgumentOutOfRangeException
|
Thrown when
instanceIdis not within zero and
Int32.MaxValue. |
See Also