Edit

Share via


LocalOwnerPresence.BeginDeletePresence Method

Definition

Overloads

BeginDeletePresence(ICollection<PresenceCategory>, AsyncCallback, Object)

Begins an asynchronous operation to delete the given list of categories.

BeginDeletePresence(ICollection<PresenceCategoryWithMetaData>, AsyncCallback, Object)

Begins an asynchronous operation to delete the given list of categories.

BeginDeletePresence(ICollection<PresenceCategory>, AsyncCallback, Object)

Begins an asynchronous operation to delete the given list of categories.

public:
 IAsyncResult ^ BeginDeletePresence(System::Collections::Generic::ICollection<Microsoft::Rtc::Collaboration::Presence::PresenceCategory ^> ^ categoryItems, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginDeletePresence (System.Collections.Generic.ICollection<Microsoft.Rtc.Collaboration.Presence.PresenceCategory> categoryItems, AsyncCallback userCallback, object state);
member this.BeginDeletePresence : System.Collections.Generic.ICollection<Microsoft.Rtc.Collaboration.Presence.PresenceCategory> * AsyncCallback * obj -> IAsyncResult
Public Function BeginDeletePresence (categoryItems As ICollection(Of PresenceCategory), userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

categoryItems
ICollection<PresenceCategory>

The list of categoryItems to be deleted.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Exceptions

Thrown when the endpoint is not in the "registered" state, or when the endpoint is an application endpoint and there is an unknown category.

Thrown when categoryItems is null.

Thrown when categoryItems contains a null CategoryItem or the instance id of a category in categoryItems could not be determined.

Applies to

BeginDeletePresence(ICollection<PresenceCategoryWithMetaData>, AsyncCallback, Object)

Begins an asynchronous operation to delete the given list of categories.

public:
 IAsyncResult ^ BeginDeletePresence(System::Collections::Generic::ICollection<Microsoft::Rtc::Collaboration::Presence::PresenceCategoryWithMetaData ^> ^ categories, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginDeletePresence (System.Collections.Generic.ICollection<Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData> categories, AsyncCallback userCallback, object state);
member this.BeginDeletePresence : System.Collections.Generic.ICollection<Microsoft.Rtc.Collaboration.Presence.PresenceCategoryWithMetaData> * AsyncCallback * obj -> IAsyncResult
Public Function BeginDeletePresence (categories As ICollection(Of PresenceCategoryWithMetaData), userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

categories
ICollection<PresenceCategoryWithMetaData>

The list of categories to be deleted.

userCallback
AsyncCallback

The method to be called when the asynchronous operation is completed.

state
Object

A user-provided object that distinguishes this particular asynchronous operation from other asynchronous operations.

Returns

An IAsyncResult that references the asynchronous operation.

Exceptions

Thrown when the endpoint is not in the "registered" state.

Thrown when categories is null.

Thrown when categories contains a null CategoryItem.

Applies to