IAsyncOperation<TResult> interface

Applies to Windows and Windows Phone

Represents an asynchronous operation.

Syntax


public interface IAsyncOperation<TResult> : IAsyncInfo

Attributes

[Version(0x06020000)]

Type parameters

TResult

The type of the result.

Members

The IAsyncOperation interface has these types of members:

Methods

The IAsyncOperation interface has these methods. It also inherits methods from the Object class.

MethodDescription
GetResults Returns the results of the operation.

 

Properties

The IAsyncOperation interface has these properties.

PropertyAccess typeDescription

Completed

Read/writeGets or sets the method that handles operation completed event.

 

Remarks

Interface inheritance

IAsyncOperation inherits IAsyncInfo. Types that implement IAsyncOperation also implement the interface members of IAsyncInfo.

Requirements

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

 

 

Show:
© 2014 Microsoft