NSProgress.PerformAsCurrentAsync(Int64) Method
Definition
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.
[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.