IFeedProviderMessage Interface
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.
This optional interface can be implemented by a feed provider to receive string messages from the feed's content that has been posted using the window.chrome.webview.postMessage JavaScript method.
public interface class IFeedProviderMessage
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.Windows.Widgets.WidgetContract, 327680)]
/// [Windows.Foundation.Metadata.Guid(1623344170, 19613, 18560, 186, 38, 202, 202, 158, 86, 125, 212)]
struct IFeedProviderMessage
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.Windows.Widgets.WidgetContract), 327680)]
[Windows.Foundation.Metadata.Guid(1623344170, 19613, 18560, 186, 38, 202, 202, 158, 86, 125, 212)]
public interface IFeedProviderMessage
Public Interface IFeedProviderMessage
- Attributes
Remarks
The calls to window.chrome.webview.postMessage in the feed content must use a targetOrigin
that matches the origin of the feed registration, specified in the ContentUri attribute of the Definition element in the provider's package manifest file. For more information see Feed provider package manifest XML format.
Methods
OnMessageReceived(FeedMessageReceivedArgs) |
Raised when the feed's content posts a message using the window.chrome.webview.postMessage JavaScript method. |