Поделиться через


NSWorkspace.RequestAuthorization Метод

Определение

[Foundation.Export("requestAuthorizationOfType:completionHandler:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 14, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void RequestAuthorization (AppKit.NSWorkspaceAuthorizationType type, Action<AppKit.NSWorkspaceAuthorization,Foundation.NSError> completionHandler);
abstract member RequestAuthorization : AppKit.NSWorkspaceAuthorizationType * Action<AppKit.NSWorkspaceAuthorization, Foundation.NSError> -> unit
override this.RequestAuthorization : AppKit.NSWorkspaceAuthorizationType * Action<AppKit.NSWorkspaceAuthorization, Foundation.NSError> -> unit

Параметры

Атрибуты

Применяется к