Edit

Share via


PresenceCategoryWithMetaData Constructors

Definition

Overloads

PresenceCategoryWithMetaData(Int64, Int32, PresenceCategory)

Creates a new instance of the PresenceCategoryWithMetaData class.

PresenceCategoryWithMetaData(String, Int64, Int32)

Creates a new instance of the PresenceCategoryWithMetaData class with empty data.

PresenceCategoryWithMetaData(Int64, Int32, PresenceCategory)

Creates a new instance of the PresenceCategoryWithMetaData class.

public:
 PresenceCategoryWithMetaData(long instanceId, int containerId, Microsoft::Rtc::Collaboration::Presence::PresenceCategory ^ item);
public PresenceCategoryWithMetaData (long instanceId, int containerId, Microsoft.Rtc.Collaboration.Presence.PresenceCategory item);
new Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData : int64 * int * Microsoft.Rtc.Collaboration.Presence.PresenceCategory -> Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData
Public Sub New (instanceId As Long, containerId As Integer, item As PresenceCategory)

Parameters

instanceId
Int64

Instance attribute of the category.

containerId
Int32

ID of the container, where category is published or being published.

item
PresenceCategory

Data to be used as inner XML for the category.

Exceptions

Thrown when item is null.

Thrown when instanceId is not within zero and Int32.MaxValue.

Applies to

PresenceCategoryWithMetaData(String, Int64, Int32)

Creates a new instance of the PresenceCategoryWithMetaData class with empty data.

public:
 PresenceCategoryWithMetaData(System::String ^ name, long instanceId, int containerId);
public PresenceCategoryWithMetaData (string name, long instanceId, int containerId);
new Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData : string * int64 * int -> Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData
Public Sub New (name As String, instanceId As Long, containerId As Integer)

Parameters

name
String

Name of the category.

instanceId
Int64

Instance attribute of the category.

containerId
Int32

ID of the container where category is published or being published.

Exceptions

Thrown when name is null.

Thrown when name is empty.

Thrown when instanceId is not within zero and Int32.MaxValue.

Applies to