FeedManager.SendMessageToContent(String, String, String) 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.
Send a string message to the web content in a feed being displayed in the feeds host.
public:
virtual void SendMessageToContent(Platform::String ^ feedProviderDefinitionId, Platform::String ^ feedDefinitionId, Platform::String ^ message) = SendMessageToContent;
void SendMessageToContent(winrt::hstring const& feedProviderDefinitionId, winrt::hstring const& feedDefinitionId, winrt::hstring const& message);
public void SendMessageToContent(string feedProviderDefinitionId, string feedDefinitionId, string message);
function sendMessageToContent(feedProviderDefinitionId, feedDefinitionId, message)
Public Sub SendMessageToContent (feedProviderDefinitionId As String, feedDefinitionId As String, message As String)
Parameters
- feedProviderDefinitionId
-
String
Platform::String
winrt::hstring
The definition ID of the feed provider. This is the value specified in the Id attribute of the FeedProvider element in the provider's package manifest file. For more information see Feed provider package manifest XML format.
- feedDefinitionId
-
String
Platform::String
winrt::hstring
The definition ID of the feed. This is the value specified in the Id attribute of the Definition element in the provider's package manifest file. For more information see Feed provider package manifest XML format.
- message
-
String
Platform::String
winrt::hstring
A string containing the message to be sent to the feed web content.
Implements
Remarks
This message string can be simple text or the serialized form of an object interpreted by the web content. For more information, see PostWebMessageAsString.