DevicePortal.DownloadLogFileAsync(String, DeviceInfo, ApplicationInfo) Method

Definition

Downloads and launches the Log file for the target application on the target device.

public static System.Threading.Tasks.Task<string> DownloadLogFileAsync (string packageName, Microsoft.MixedReality.Toolkit.WindowsDevicePortal.DeviceInfo targetDevice, Microsoft.MixedReality.Toolkit.WindowsDevicePortal.ApplicationInfo appInfo = default);
static member DownloadLogFileAsync : string * Microsoft.MixedReality.Toolkit.WindowsDevicePortal.DeviceInfo * Microsoft.MixedReality.Toolkit.WindowsDevicePortal.ApplicationInfo -> System.Threading.Tasks.Task<string>
Public Shared Function DownloadLogFileAsync (packageName As String, targetDevice As DeviceInfo, Optional appInfo As ApplicationInfo = Nothing) As Task(Of String)

Parameters

packageName
String
targetDevice
DeviceInfo
appInfo
ApplicationInfo

Optional cached ApplicationInfo.

Returns

Task<String>

The path of the downloaded log file.

Applies to