DataReaderLoadOperation 類別

定義

從輸入資料流程載入資料。

public ref class DataReaderLoadOperation sealed : IAsyncOperation<unsigned int>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class DataReaderLoadOperation final : IAsyncOperation<uint32_t>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class DataReaderLoadOperation : IAsyncOperation<uint>
Public NotInheritable Class DataReaderLoadOperation
Implements IAsyncOperation(Of UInteger)
繼承
Object Platform::Object IInspectable DataReaderLoadOperation
屬性
實作
IAsyncInfo IAsyncOperation<UInt32> Windows.Foundation.IAsyncOperation IAsyncOperation<uint32_t>

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

Completed

取得或設定當資料載入作業完成時要呼叫的處理常式。

ErrorCode

如果資料載入作業失敗,取得錯誤碼。

Id

取得代表資料載入作業的唯一識別碼。

Status

取得資料載入作業的目前狀態。

方法

Cancel()

要求取消資料載入作業。

Close()

與資料載入作業相關聯的要求應該停止。

GetResults()

傳回資料載入作業的結果。

適用於

另請參閱