Share via


FeedMessageReceivedArgs 类

定义

为使用 window.chrome.webview.postMessage JavaScript 方法发布消息时引发的 FeedMessageReceivedArgs 事件提供数据。

public ref class FeedMessageReceivedArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 327680)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class FeedMessageReceivedArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 327680)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class FeedMessageReceivedArgs
Public NotInheritable Class FeedMessageReceivedArgs
继承
Object Platform::Object IInspectable FeedMessageReceivedArgs
属性

属性

FeedDefinitionId

获取与消息关联的源的定义 ID。

FeedProviderDefinitionId

获取与消息关联的源提供程序的定义 ID。

Message

获取一个字符串,其中包含使用 window.chrome.webview.postMessage JavaScript 方法从源内容发布的消息的内容

适用于