IStorageProviderSearchHandler.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.
This method is called by the UI to report usage of search result when the file is launched.
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.
- remoteFileId
-
String
Platform::String
winrt::hstring
The remote ID of the file or folder.
- resultId
-
String
Platform::String
winrt::hstring
The ID of the search result.
Remarks
This is a blocking call and should not be called on a UI thread.