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
- name
Type: System.String
The display name of the group.
- email
Type: System.String
The e-mail address associated with the group.
- userCallback
Type: System.AsyncCallback
The System.AsyncCallback delegate that is called when the operation is complete. The callback handler is responsible for calling the EndAddGroup(IAsyncResult) method.
- 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.
See Also