อ่านในภาษาอังกฤษ แก้ไข

แชร์ผ่าน


Mcp342x.WaitForConversion Method

Definition

Waits for conversion to complete

C#
protected void WaitForConversion (TimeSpan? waitSpan = default, Action<int> progressCallback = default, System.Threading.CancellationToken cancellationToken = default);
C#
protected void WaitForConversion (TimeSpan? waitSpan = default, Action<int>? progressCallback = default, System.Threading.CancellationToken cancellationToken = default);

Parameters

waitSpan
Nullable<TimeSpan>

Time to wait for conversion before timing out

progressCallback
Action<Int32>

Action to be called to report the progress

cancellationToken
CancellationToken

Token which can be used to cancel the operation

Applies to

ผลิตภัณฑ์ เวอร์ชัน
.NET IoT Libraries 1.0.0, 1.1.0, 1.2.0, 1.3.0, 1.4.0, 1.5.0, 2.0.0, 2.1.0, 2.2.0