編輯

共用方式為


NSProgress.PerformAsCurrentAsync(Int64) Method

Definition

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.WatchOS, 4, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 13, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 11, 0, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual System.Threading.Tasks.Task PerformAsCurrentAsync (long unitCount);
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