共用方式為


SFSafariExtensionHandler.MessageReceived 方法

定義

[Foundation.Export("messageReceivedWithName:fromPage:userInfo:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 12, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public virtual void MessageReceived (string messageName, SafariServices.SFSafariPage page, Foundation.NSDictionary userInfo);
abstract member MessageReceived : string * SafariServices.SFSafariPage * Foundation.NSDictionary -> unit
override this.MessageReceived : string * SafariServices.SFSafariPage * Foundation.NSDictionary -> unit

參數

messageName
String
userInfo
NSDictionary
屬性

適用於