SFCertificateTrustPanel.RunModal(SecTrust, String) 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.
Displays the panel modally for the specified SecTrust object with a descriptive message.
[Foundation.Export("runModalForTrust:message:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual AppKit.NSModalResponse RunModal(Security.SecTrust trust, string? message);
[<Foundation.Export("runModalForTrust:message:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
override this.RunModal : Security.SecTrust * string -> AppKit.NSModalResponse
Parameters
- message
- String
A message to display in the panel, or null.
Returns
The button code that was pressed to dismiss the panel.
- Attributes