ContactServiceCreateContactGroup Method |
Creates a Contact Group with specified group name and group members.
Namespace:
Avaya.ClientServices
Assembly:
AvayaClientServices (in AvayaClientServices.dll) Version: 550.0.60.0
Syntaxpublic void CreateContactGroup(
string groupName,
HashSet<Contact> groupMembers,
ContactServiceCreateContactGroupCompletionHandler completionHandler
)
Parameters
- groupName
- Type: SystemString
Unique name of the group.
Note that group name length is limited by the server.
Also note that there are some characters not allowed to be present in group name (< > , ").
- groupMembers
- Type: System.Collections.GenericHashSetContact
List of contacts to add into a group during creation
Contacts to be added as group members should have AddToGroupCapability allowed.
- completionHandler
- Type: Avaya.ClientServicesContactServiceCreateContactGroupCompletionHandler
The completion handler for this operation. Operation
success or failure is reported through this handler.
Remarks
Group members can be ommited. In this case Contact Service creates Contact Group with empty list of contacts.
See Also