Share via


IEndpoint.BeginUnsubscribePresence Method

Begins an asynchronous request to remove a subscription for a contact that is not in the user's default contact list.

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

Syntax

'Declaration
Function BeginUnsubscribePresence ( _
    uri As String, _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As IEndpoint
Dim uri As String
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = instance.BeginUnsubscribePresence(uri, _
    userCallback, state)
IAsyncResult BeginUnsubscribePresence(
    string uri,
    AsyncCallback userCallback,
    Object state
)

Parameters

  • uri
    Type: System.String
    The Session Initiation Protocol (SIP) URI of the contact to remove the subscription for.
  • 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.