PlatformDiagnosticActions.ForceUpload 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
導致診斷資料在指定的參數內上傳。
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
參數
- uploadOverCostedNetwork
-
Boolean
bool
如果裝置只能存取行動資料連線,則為 True;如果裝置只能存取行動資料連線,則為 True;否則為 false。
- uploadOverBattery
-
Boolean
bool
如果 裝置在電池上執行,則為 True;否則 為 false 。