EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

IAsyncOperationWithProgress<TResult, TProgress> interface

Applies to Windows and Windows Phone

Represents an asynchronous operation that includes progress updates.

Syntax


public interface IAsyncOperationWithProgress<TResult, TProgress> : IAsyncInfo

Attributes

[Version(0x06020000)]

Type parameters

TResult

The type of the result.

TProgress

The type of the progress data.

Members

The IAsyncOperationWithProgress interface has these types of members:

Methods

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

MethodDescription
GetResults Returns the results of the operation.

 

Properties

The IAsyncOperationWithProgress interface has these properties.

PropertyAccess typeDescription

Completed

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

Progress

Read/writeGets or sets the method that handles progress events.

 

Remarks

Interface inheritance

IAsyncOperationWithProgress inherits IAsyncInfo. Types that implement IAsyncOperationWithProgress 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

 

 

Mostrar:
© 2014 Microsoft