Share via


RemotePresence.EndAddTargets Method

Ends the asynchronous operation started by BeginAddTargets(ICollection<RemotePresentitySubscriptionTarget>, AsyncCallback, Object).

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

Syntax

'Declaration
Public Sub EndAddTargets ( _
    result As IAsyncResult _
)
'Usage
Dim instance As RemotePresence
Dim result As IAsyncResult

instance.EndAddTargets(result)
public void EndAddTargets(
    IAsyncResult result
)

Parameters

Exceptions

Exception Condition
ArgumentException

Thrown when result was created by a Begin method for a different operation.

InvalidOperationException

Thrown when EndAddTargets was called more than once for the same instance of result.

See Also

Reference

RemotePresence Class

RemotePresence Members

Microsoft.Rtc.Collaboration.Presence Namespace