Edit

Share via


LocalOwnerPresence.BeginUpdateContainerMembership Method

Definition

Begins an asynchronous operation to update the container memberships.

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

Parameters

operations
ICollection<ContainerUpdateOperation>

The list of container update operations.

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 operations is null.

Thrown when operations contains a null ContainerUpdateOperation.

Applies to