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()

データ読み込み操作の結果を返します。

適用対象

こちらもご覧ください