Windows Dev Center

IAsyncInfo.Close method

Closes the asynchronous operation.

Syntax


void Close()

Parameters

This method has no parameters.

Remarks

Calling this method indicates that you have finished with the results of the operation. After calling Close, do not call the GetResults method again (each of the 4 IAsyncInfo derived interfaces have their own implementation of GetResults.)

Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.FoundationContract, introduced version 1.0

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.Foundation.FoundationContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Foundation
Windows::Foundation [C++]

Metadata

Windows.winmd

See also

IAsyncInfo
Status

 

 

Show:
© 2015 Microsoft