Edit

Share via


ContactGroupServices.BeginDeleteGroup(Int32, AsyncCallback, Object) Method

Definition

Begins an asynchronous operation to remove a specified group.

public:
 IAsyncResult ^ BeginDeleteGroup(int groupId, AsyncCallback ^ userCallback, System::Object ^ state);
public IAsyncResult BeginDeleteGroup (int groupId, AsyncCallback userCallback, object state);
member this.BeginDeleteGroup : int * AsyncCallback * obj -> IAsyncResult
Public Function BeginDeleteGroup (groupId As Integer, userCallback As AsyncCallback, state As Object) As IAsyncResult

Parameters

groupId
Int32

ID of the group 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 groupId is less than zero.

Thrown when the subscription state is not idle or subscribed.

Applies to