次の方法で共有


TransferProgress 構造体

定義

データ転送操作の進行状況情報が含まれます。

public value class TransferProgress
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
struct TransferProgress
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public struct TransferProgress
var transferProgress = {
bytesSent : /* Your value */,
totalBytesToSend : /* Your value */,
bytesRetrieved : /* Your value */,
totalBytesToRetrieve : /* Your value */
}
Public Structure TransferProgress
継承
TransferProgress
属性

Windows の要件

要件 説明
デバイス ファミリ
Windows 10 (10.0.10240.0 で導入)
API contract
Windows.Foundation.UniversalApiContract (v1.0 で導入)

フィールド

名前 説明
BytesRetrieved

受信されたバイト数。

BytesSent

送信されたバイト数。

TotalBytesToRetrieve

転送操作中に受信されるバイトの合計数。

TotalBytesToSend

転送操作中に送信される合計バイト数。

適用対象

こちらもご覧ください