Share via


IEndpoint.BeginUpdateContact Method

Begins an asynchronous request to update the information associated with a contact.

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

Syntax

'Declaration
Function BeginUpdateContact ( _
    uri As String, _
    name As String, _
    subscribed As Boolean, _
    tag As Boolean, _
    groups As Integer(), _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As IEndpoint
Dim uri As String
Dim name As String
Dim subscribed As Boolean
Dim tag As Boolean
Dim groups As Integer()
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginUpdateContact(uri, _
    name, subscribed, tag, groups, userCallback, _
    state)
IAsyncResult BeginUpdateContact(
    string uri,
    string name,
    bool subscribed,
    bool tag,
    int[] groups,
    AsyncCallback userCallback,
    Object state
)

Parameters

  • uri
    Type: System.String
    The Session Initiation Protocol (SIP) URI of the contact to update.
  • name
    Type: System.String
    The display name to use for the contact.
  • subscribed
    Type: System.Boolean
    true to indicate presence notifications for this contact should be subscribed to; otherwise, false. Currently not used.
  • tag
    Type: System.Boolean
    true to indicate that the contact is tagged for state change notifications; otherwise, false.
  • groups
    Type: []
    An array of group identifiers that indicate which groups the contact should be added to.
  • 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.