BackgroundUploader.GetCurrentUploadsAsync 方法

定义

重载

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

返回

当前应用程序实例的挂起上传的集合。

属性

另请参阅

适用于