Share via


IEndpoint.BeginAddGroup Method

Begins an asynchronous request to add a group to the user's contact list.

Namespace:  Microsoft.Exchange.InstantMessaging
Assembly:  Microsoft.Exchange.InstantMessaging (in Microsoft.Exchange.InstantMessaging.dll)

Syntax

'Declaration
Function BeginAddGroup ( _
    name As String, _
    email As String, _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As IEndpoint
Dim name As String
Dim email As String
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginAddGroup(name, _
    email, userCallback, state)
IAsyncResult BeginAddGroup(
    string name,
    string email,
    AsyncCallback userCallback,
    Object state
)

Parameters

  • email
    Type: System.String
    The e-mail address associated with the group.
  • state
    Type: System.Object
    Contains user state information for the requested operation.

Return Value

Type: System.IAsyncResult
An System.IAsyncResult object that references the asynchronous request.