FeedManager.SendMessageToContent(String, String, String) Method

Definition

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

M:Microsoft.Windows.Widgets.Feeds.Providers.IFeedManager2.SendMessageToContent(System.String,System.String,System.String) M:Microsoft.Windows.Widgets.Feeds.Providers.IFeedManager2.SendMessageToContent(Platform::String,Platform::String,Platform::String) M:Microsoft.Windows.Widgets.Feeds.Providers.IFeedManager2.SendMessageToContent(winrt::hstring,winrt::hstring,winrt::hstring)

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.

Applies to