SFCertificatePanel.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, SecCertificate[], Boolean, Action<NSModalResponse>) |
Displays a certificate sheet and invokes the callback when it closes. |
| BeginSheet(NSWindow, SecTrust, Boolean, Action<NSModalResponse>) |
Displays a certificate trust sheet and invokes the callback when it closes. |
| BeginSheet(NSWindow, NSObject, Selector, IntPtr, SecCertificate[], Boolean) |
Displays the panel as a sheet for the specified array of certificates. |
| BeginSheet(NSWindow, NSObject, Selector, IntPtr, SecTrust, Boolean) |
Displays the panel as a sheet for the specified SecTrust object. |
BeginSheet(NSWindow, SecCertificate[], Boolean, Action<NSModalResponse>)
Displays a certificate sheet and invokes the callback when it closes.
public void BeginSheet(AppKit.NSWindow docWindow, Security.SecCertificate[] certificates, bool showGroup, Action<AppKit.NSModalResponse> didEnd);
override this.BeginSheet : AppKit.NSWindow * Security.SecCertificate[] * bool * Action<AppKit.NSModalResponse> -> unit
Parameters
- docWindow
- NSWindow
- certificates
- SecCertificate[]
- showGroup
- Boolean
- didEnd
- Action<NSModalResponse>
Applies to
BeginSheet(NSWindow, SecTrust, Boolean, Action<NSModalResponse>)
Displays a certificate trust sheet and invokes the callback when it closes.
public void BeginSheet(AppKit.NSWindow docWindow, Security.SecTrust trust, bool showGroup, Action<AppKit.NSModalResponse> didEnd);
override this.BeginSheet : AppKit.NSWindow * Security.SecTrust * bool * Action<AppKit.NSModalResponse> -> unit
Parameters
- docWindow
- NSWindow
- trust
- SecTrust
- showGroup
- Boolean
- didEnd
- Action<NSModalResponse>
Applies to
BeginSheet(NSWindow, NSObject, Selector, IntPtr, SecCertificate[], Boolean)
Displays the panel as a sheet for the specified array of certificates.
[Foundation.Export("beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:certificates:showGroup:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual void BeginSheet(AppKit.NSWindow docWindow, Foundation.NSObject? modalDelegate, ObjCRuntime.Selector? didEndSelector, IntPtr contextInfo, Security.SecCertificate[] certificates, bool showGroup);
[<Foundation.Export("beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:certificates:showGroup:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.BeginSheet : AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint * Security.SecCertificate[] * bool -> 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.
- certificates
- SecCertificate[]
An array of certificates to display.
- showGroup
- Boolean
Whether to display the certificate group.
- Attributes
Applies to
BeginSheet(NSWindow, NSObject, Selector, IntPtr, SecTrust, Boolean)
Displays the panel as a sheet for the specified SecTrust object.
[Foundation.Export("beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:trust:showGroup:")]
[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, bool showGroup);
[<Foundation.Export("beginSheetForWindow:modalDelegate:didEndSelector:contextInfo:trust:showGroup:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.BeginSheet : AppKit.NSWindow * Foundation.NSObject * ObjCRuntime.Selector * nativeint * Security.SecTrust * bool -> 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.
- showGroup
- Boolean
Whether to display the certificate group.
- Attributes