SFCertificateTrustPanel.BeginSheet 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.
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
- didEnd
- Action<NSModalResponse>
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.
- message
- String
A message to display in the panel, or null.
- Attributes