編輯

共用方式為


NSProcessInfo.PerformActivity(NSActivityOptions, String, Action) Method

Definition

[Foundation.Export("performActivityWithOptions:reason:usingBlock:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 9, ObjCRuntime.PlatformArchitecture.All, null)]
public virtual void PerformActivity (Foundation.NSActivityOptions options, string reason, Action runCode);
abstract member PerformActivity : Foundation.NSActivityOptions * string * Action -> unit
override this.PerformActivity : Foundation.NSActivityOptions * string * Action -> unit

Parameters

reason
String
runCode
Action
Attributes

Applies to