BackgroundUploader.GetCurrentUploadsAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetCurrentUploadsAsync(String) |
Note GetCurrentUploadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentUploadsForTransferGroupAsync. Returns a collection of pending uploads for a specific Group. |
GetCurrentUploadsAsync() |
Returns a collection of pending uploads that are not associated with a group. |
GetCurrentUploadsAsync(String)
Note
GetCurrentUploadsAsync(group) may be altered or unavailable for releases after Windows 8.1. Instead, use GetCurrentUploadsForTransferGroupAsync.
Returns a collection of pending uploads for a specific Group.
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))
Parameters
- group
-
String
Platform::String
winrt::hstring
A string indicating a specific group of uploads.
Returns
A collection of pending uploads for the specific group.
- Attributes
See also
Applies to
GetCurrentUploadsAsync()
Returns a collection of pending uploads that are not associated with a group.
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))
Returns
A collection of pending uploads for the current application instance.
- Attributes