Share via


NSProgress.PerformAsCurrent(Int64, Action) Method

Definition

[Foundation.Export("performAsCurrentWithPendingUnitCount:usingBlock:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void PerformAsCurrent(long unitCount, Action work);
[<Foundation.Export("performAsCurrentWithPendingUnitCount:usingBlock:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member PerformAsCurrent : int64 * Action -> unit
override this.PerformAsCurrent : int64 * Action -> unit

Parameters

unitCount
Int64
work
Action
Attributes

Applies to