PlatformDiagnosticActions.DownloadLatestSettingsForNamespace 方法

定义

下载描述哪些诊断数据作为指定配置文件的一部分收集的设置。

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

参数

partner
String

Platform::String

winrt::hstring

与此配置文件关联的合作伙伴的名称。

feature
String

Platform::String

winrt::hstring

与此配置文件关联的功能的名称。

isScenarioNamespace
Boolean

bool

如果此配置文件与方案关联,则为 true;否则为 false

downloadOverCostedNetwork
Boolean

bool

如果为 true ,则下载设置,即使设备仅有权访问付费网络连接;否则 为 false

downloadOverBattery
Boolean

bool

如果为 true ,则即使设备使用电池运行,也可以下载设置; 否则为 false

返回

尝试下载设置的结果。

适用于