Share via


NSProgress.PerformAsCurrentAsync(Int64) Method

Definition

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual System.Threading.Tasks.Task PerformAsCurrentAsync(long unitCount);
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformAsCurrentAsync : int64 -> System.Threading.Tasks.Task
override this.PerformAsCurrentAsync : int64 -> System.Threading.Tasks.Task

Parameters

unitCount
Int64

Returns

A task that represents the asynchronous PerformAsCurrent operation

Attributes

Remarks

The PerformAsCurrentAsync method is suitable to be used with C# async by returning control to the caller with a Task representing the operation.

To be added.

Applies to