IFeedProviderMessage.OnMessageReceived(FeedMessageReceivedArgs) 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.
Raised when the feed's content posts a message using the window.chrome.webview.postMessage JavaScript method.
public:
void OnMessageReceived(FeedMessageReceivedArgs ^ args);
void OnMessageReceived(FeedMessageReceivedArgs const& args);
public void OnMessageReceived(FeedMessageReceivedArgs args);
function onMessageReceived(args)
Public Sub OnMessageReceived (args As FeedMessageReceivedArgs)
Parameters
A FeedMessageReceivedArgs that provides details about the message that triggered the event.
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.