Avaya Client Services API Reference (Windows)
Avaya Client Services API Reference (Windows)
Avaya.ClientServices
ContactGroup Class
ContactGroup Methods
AddContacts Method
RemoveContacts Method
RenameGroup Method

ContactGroup AddContacts Method

Adds new contacts to a group.

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 592.1.30.0
Syntax
C#
Copy

    public void AddContacts(
    	HashSet<Contact> contacts,
    	ContactGroupContactGroupOperationCompletionHandler completionHandler
    )

#### Parameters

contacts
  Type: System.Collections.Generic
  HashSet
  Contact
  List of contacts to add.
completionHandler
  Type: Avaya.ClientServices
  ContactGroup
  ContactGroupOperationCompletionHandler
  Completion handler for this operation.

Remarks
Operation fails if at least one contact can't be added to a group due to capability not allowed. Entire collection remains unchanged in this case. Providing contact as argument which already exists in group treated as Success operation.
See Also

#### Reference

ContactGroup Class
Avaya.ClientServices Namespace

© 2017 Avaya LLC. All Rights Reserved.