BackgroundUploader.GetCurrentUploadsAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
GetCurrentUploadsAsync(String) |
注意 getCurrentUploadsAsync (群組) 可能會在Windows 8.1之後變更或無法使用。 請改用 GetCurrentUploadsForTransferGroupAsync。 傳回特定 群組的擱置上傳集合。 |
GetCurrentUploadsAsync() |
傳回未與群組相關聯的擱置上傳集合。 |
GetCurrentUploadsAsync(String)
注意
getCurrentUploadsAsync (群組) 可能會在Windows 8.1之後變更或無法使用。 請改用 GetCurrentUploadsForTransferGroupAsync。
傳回特定 群組的擱置上傳集合。
public:
static IAsyncOperation<IVectorView<UploadOperation ^> ^> ^ GetCurrentUploadsAsync(Platform::String ^ group);
/// [Windows.Foundation.Metadata.Deprecated("GetCurrentUploadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentUploadsForTransferGroupAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.Overload("GetCurrentUploadsForGroupAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<IVectorView<UploadOperation>> GetCurrentUploadsAsync(winrt::hstring const& group);
/// [Windows.Foundation.Metadata.Overload("GetCurrentUploadsForGroupAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("GetCurrentUploadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentUploadsForTransferGroupAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
static IAsyncOperation<IVectorView<UploadOperation>> GetCurrentUploadsAsync(winrt::hstring const& group);
[Windows.Foundation.Metadata.Deprecated("GetCurrentUploadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentUploadsForTransferGroupAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.Overload("GetCurrentUploadsForGroupAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<UploadOperation>> GetCurrentUploadsAsync(string group);
[Windows.Foundation.Metadata.Overload("GetCurrentUploadsForGroupAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("GetCurrentUploadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentUploadsForTransferGroupAsync.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<IReadOnlyList<UploadOperation>> GetCurrentUploadsAsync(string group);
function getCurrentUploadsAsync(group)
Public Shared Function GetCurrentUploadsAsync (group As String) As IAsyncOperation(Of IReadOnlyList(Of UploadOperation))
參數
- group
-
String
Platform::String
winrt::hstring
字串,表示特定上傳群組。
傳回
特定群組的擱置上傳集合。
- 屬性
另請參閱
適用於
GetCurrentUploadsAsync()
傳回未與群組相關聯的擱置上傳集合。
public:
static IAsyncOperation<IVectorView<UploadOperation ^> ^> ^ GetCurrentUploadsAsync();
/// [Windows.Foundation.Metadata.Overload("GetCurrentUploadsAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<IVectorView<UploadOperation>> GetCurrentUploadsAsync();
[Windows.Foundation.Metadata.Overload("GetCurrentUploadsAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<IReadOnlyList<UploadOperation>> GetCurrentUploadsAsync();
function getCurrentUploadsAsync()
Public Shared Function GetCurrentUploadsAsync () As IAsyncOperation(Of IReadOnlyList(Of UploadOperation))
傳回
目前應用程式實例擱置上傳的集合。
- 屬性