PlatformDiagnosticActions.ForceUpload 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.
Cause diagnostic data to be uploaded within the specified parameters.
public:
static PlatformDiagnosticActionState ForceUpload(PlatformDiagnosticEventBufferLatencies latency, bool uploadOverCostedNetwork, bool uploadOverBattery);
static PlatformDiagnosticActionState ForceUpload(PlatformDiagnosticEventBufferLatencies const& latency, bool const& uploadOverCostedNetwork, bool const& uploadOverBattery);
public static PlatformDiagnosticActionState ForceUpload(PlatformDiagnosticEventBufferLatencies latency, bool uploadOverCostedNetwork, bool uploadOverBattery);
function forceUpload(latency, uploadOverCostedNetwork, uploadOverBattery)
Public Shared Function ForceUpload (latency As PlatformDiagnosticEventBufferLatencies, uploadOverCostedNetwork As Boolean, uploadOverBattery As Boolean) As PlatformDiagnosticActionState
Parameters
- uploadOverCostedNetwork
-
Boolean
bool
True to upload even if the device only has access to a cellular data connection; false otherwise.
- uploadOverBattery
-
Boolean
bool
True to upload even if the device is running on battery; false otherwise.