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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for