Language

SFCertificateTrustPanel.BeginSheet Method

Definition

Overloads

Name Description
BeginSheet(NSWindow, SecTrust, String, Action<NSModalResponse>)

Displays a trust sheet and invokes the callback when it closes.

BeginSheet(NSWindow, NSObject, Selector, IntPtr, SecTrust, String)

Displays the panel as a sheet for the specified SecTrust object with a message.

BeginSheet(NSWindow, SecTrust, String, Action<NSModalResponse>)

Displays a trust sheet and invokes the callback when it closes.

public void BeginSheet(AppKit.NSWindow docWindow, Security.SecTrust trust, string? message, Action<AppKit.NSModalResponse> didEnd);
override this.BeginSheet : AppKit.NSWindow * Security.SecTrust * string * Action<AppKit.NSModalResponse> -> unit

Parameters

docWindow
NSWindow
trust
SecTrust
message
String

Applies to

BeginSheet(NSWindow, NSObject, Selector, IntPtr, SecTrust, String)

Displays the panel as a sheet for the specified SecTrust object with a message.

[Foundation.Export("beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:trust:message:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void BeginSheet(AppKit.NSWindow docWindow, Foundation.NSObject? modalDelegate, ObjCRuntime.Selector? didEndSelector, IntPtr contextInfo, Security.SecTrust trust, string? message);
[<Foundation.Export("beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:trust:message:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.BeginSheet : AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint * Security.SecTrust * string -> unit

Parameters

docWindow
NSWindow

The window to which the sheet is attached.

modalDelegate
NSObject

The delegate that receives the did-end callback, or null.

didEndSelector
Selector

The selector invoked when the sheet ends, or null.

contextInfo
IntPtr

nativeint

A pointer to context information passed to the callback.

trust
SecTrust

The SecTrust object to evaluate.

message
String

A message to display in the panel, or null.

Attributes

Applies to