Ends the asynchronous operation initiated by BeginDeletePresence.

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

Syntax

Visual Basic (Declaration)
Public 
Sub 
EndDeletePresence ( _
	
result 
As 
IAsyncResult _
)
C#
public 
void 
EndDeletePresence(
	
IAsyncResult 
result
)
Visual C++
public:
void 
EndDeletePresence(
	
IAsyncResult^ 
result
)
JavaScript
function 
endDeletePresence(
result);

Parameters

result
Type: IAsyncResult
The reference to the pending asynchronous operation.

Remarks

PublishSubscribeException is usually thrown when the XML request sent to the server is invalid.

Exceptions

Exception Condition
InvalidOperationException Thrown when this method is invoked multiple times using the same result or when the result is null.
Microsoft.Rtc.Signaling . . :: . PublishSubscribeException Thrown when the SIP SERVICE request is rejected by the server.
Microsoft.Rtc.Signaling . . :: . RealTimeException Thrown when SIP Transport, SIP authentication and credential-related errors are encountered.

See Also