مشاركة عبر


FileOpenPicker.ResumePickSingleFileAsync Method

Definition

Resumes the picking operation to retrieve the user-selected file if the user navigates away from the app after the picker operation has completed and the app is suspended.

public:
 static IAsyncOperation<StorageFile ^> ^ ResumePickSingleFileAsync();
/// [Windows.Foundation.Metadata.Deprecated("Instead, use PickSingleFileAsync", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<StorageFile> ResumePickSingleFileAsync();
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("Instead, use PickSingleFileAsync", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
 static IAsyncOperation<StorageFile> ResumePickSingleFileAsync();
[Windows.Foundation.Metadata.Deprecated("Instead, use PickSingleFileAsync", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<StorageFile> ResumePickSingleFileAsync();
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("Instead, use PickSingleFileAsync", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Foundation.UniversalApiContract")]
public static IAsyncOperation<StorageFile> ResumePickSingleFileAsync();
function resumePickSingleFileAsync()
Public Shared Function ResumePickSingleFileAsync () As IAsyncOperation(Of StorageFile)

Returns

When the call to this method completes successfully, it returns a StorageFile object that represents the file that the user picked.

Attributes

Remarks

Do not use.

Applies to