Share via


PlatformDiagnosticActions.DownloadLatestSettingsForNamespace Method

Definition

Downloads the settings that describes which diagnostic data is collected as part of the specified profile.

public:
 static PlatformDiagnosticActionState DownloadLatestSettingsForNamespace(Platform::String ^ partner, Platform::String ^ feature, bool isScenarioNamespace, bool downloadOverCostedNetwork, bool downloadOverBattery);
 static PlatformDiagnosticActionState DownloadLatestSettingsForNamespace(winrt::hstring const& partner, winrt::hstring const& feature, bool const& isScenarioNamespace, bool const& downloadOverCostedNetwork, bool const& downloadOverBattery);
public static PlatformDiagnosticActionState DownloadLatestSettingsForNamespace(string partner, string feature, bool isScenarioNamespace, bool downloadOverCostedNetwork, bool downloadOverBattery);
function downloadLatestSettingsForNamespace(partner, feature, isScenarioNamespace, downloadOverCostedNetwork, downloadOverBattery)
Public Shared Function DownloadLatestSettingsForNamespace (partner As String, feature As String, isScenarioNamespace As Boolean, downloadOverCostedNetwork As Boolean, downloadOverBattery As Boolean) As PlatformDiagnosticActionState

Parameters

partner
String

Platform::String

winrt::hstring

The name of the partner associated with this profile.

feature
String

Platform::String

winrt::hstring

The name of the feature associated with this profile.

isScenarioNamespace
Boolean

bool

true if this profile is associated with a scenario; false otherwise.

downloadOverCostedNetwork
Boolean

bool

true to download settings even if the device only has access to a costed network connection; false otherwise.

downloadOverBattery
Boolean

bool

true to download the settings even if the device is running on battery; false, otherwise.

Returns

The result of trying to download the settings.

Applies to