SecureDeviceAssociation.DestroyAsync Method

Begins destroying the SecureDeviceAssociation gracefully.

This function asynchronously begins disassociating the previously-established Xbox Secure Device Association. If the association is not already destroyed, a best-effort attempt to notify the remote device is performed, though there is no guarantee that the remote device will successfully receive the notification, and may instead time out the SecureDeviceAssociation. A successful completion result indicates that the remote peer has acknowledged gracefully destroying or has already destroyed the SecureDeviceAssociation. A failure result indicates that the system could not confirm whether the remote peer is gracefully destroying the SecureDeviceAssociation.

Syntax

public:
IAsyncAction^ DestroyAsync()  

Return value

Type: IAsyncAction 

Returns an IAsyncAction object that represents the state of the asynchronous operation. Completion of the asynchronous operation is signaled by using a handler that is passed to the IAsyncAction.Completed property.

Requirements

Namespace: Windows.Xbox.Networking

Metadata: windows.winmd

See also

Reference

SecureDeviceAssociation Class

SecureDeviceAssociation Members

Windows.Xbox.Networking Namespace