Mcp342x.WaitForConversion Method
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.
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);
member this.WaitForConversion : Nullable<TimeSpan> * Action<int> * System.Threading.CancellationToken -> unit
Protected Sub WaitForConversion (Optional waitSpan As Nullable(Of TimeSpan) = Nothing, Optional progressCallback As Action(Of Integer) = Nothing, Optional cancellationToken As CancellationToken = Nothing)
- cancellationToken
- CancellationToken
Token which can be used to cancel the operation
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.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 |