Share via


BeginRemoveTarget Method

Remove target from the subscription dispatcher and start terminating the existing subscription.

Namespace:  Microsoft.Rtc.Collaboration.Presence
Assembly:  Microsoft.Rtc.Collaboration (in Microsoft.Rtc.Collaboration.dll)

Syntax

'Declaration
Public Function BeginRemoveTarget ( _
    uri As String, _
    userCallback As AsyncCallback, _
    state As Object _
) As IAsyncResult
'Usage
Dim instance As RemotePresence
Dim uri As String
Dim userCallback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

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

Parameters

Return Value

Type: System..::..IAsyncResult

Remarks

Exceptions

[T:System.ArgumentNullException]: Thrown if the target is null.

[T:System.ArgumentException]: Thrown if the subscription does not exist for target.

See Also

Reference

RemotePresence Class

RemotePresence Members

Microsoft.Rtc.Collaboration.Presence Namespace