IStorageProviderSuggestionsHandler.ReportUsage 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.
Sends feedback on usage of a file or folder to the system.
Important
The Windows.Storage.Provider.IStorageProviderSuggestionsHandler API is part of a Limited Access Feature (see LimitedAccessFeatures class). For more information or to request an unlock token, please use the LAF Access Token Request Form.
public:
void ReportUsage(StorageProviderResultUsageKind resultUsageKind, Platform::String ^ remoteFileId, Platform::String ^ resultId, TimeSpan latency);
void ReportUsage(StorageProviderResultUsageKind const& resultUsageKind, winrt::hstring const& remoteFileId, winrt::hstring const& resultId, TimeSpan const& latency);
public void ReportUsage(StorageProviderResultUsageKind resultUsageKind, string remoteFileId, string resultId, System.TimeSpan latency);
function reportUsage(resultUsageKind, remoteFileId, resultId, latency)
Public Sub ReportUsage (resultUsageKind As StorageProviderResultUsageKind, remoteFileId As String, resultId As String, latency As TimeSpan)
Parameters
- resultUsageKind
- StorageProviderResultUsageKind
The kind of usage to report.
- remoteFileId
-
String
Platform::String
winrt::hstring
The remote file ID of the file or folder. See StorageProviderSuggestionResult.RemoteFileId.
- resultId
-
String
Platform::String
winrt::hstring
The result ID of the usage to report. See StorageProviderSuggestionResult.ResultId.