BeginAddContact Method (String, String, Boolean, String, String, Int32[], AsyncCallback, Object)
Start a service request to add a contact.
Namespace: Microsoft.Rtc.Collaboration.ContactsGroups
Assembly: Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)
Syntax
'Declaration
Public Function BeginAddContact ( _
contactUri As String, _
contactName As String, _
isSubscribed As Boolean, _
contactData As String, _
contactExtension As String, _
groupIds As Integer(), _
userCallback As AsyncCallback, _
state As Object _
) As IAsyncResult
'Usage
Dim instance As ContactGroupServices
Dim contactUri As String
Dim contactName As String
Dim isSubscribed As Boolean
Dim contactData As String
Dim contactExtension As String
Dim groupIds As Integer()
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult
returnValue = instance.BeginAddContact(contactUri, _
contactName, isSubscribed, contactData, _
contactExtension, groupIds, userCallback, _
state)
public IAsyncResult BeginAddContact(
string contactUri,
string contactName,
bool isSubscribed,
string contactData,
string contactExtension,
int[] groupIds,
AsyncCallback userCallback,
Object state
)
Parameters
- contactUri
Type: System..::..String
- contactName
Type: System..::..String
- isSubscribed
Type: System..::..Boolean
- contactData
Type: System..::..String
- contactExtension
Type: System..::..String
- groupIds
Type: array<System..::..Int32>[]()[][]
- userCallback
Type: System..::..AsyncCallback
- state
Type: System..::..Object
Return Value
Type: System..::..IAsyncResult