Partilhar via


RemotePresence.EndRemoveTarget Method

Ends the asynchronous operation started by BeginRemoveTarget(String, AsyncCallback, Object).

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

Syntax

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

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

Parameters

Exceptions

Exception Condition
ArgumentNullException

Thrown when result is null.

ArgumentException

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

InvalidOperationException

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

See Also

Reference

RemotePresence Class

RemotePresence Members

Microsoft.Rtc.Collaboration.Presence Namespace