Share via


IFeedManager2.TryShowAnnouncement(String, String, FeedAnnouncement) Method

Definition

Interface definition of a method that requests that an announcement be shown in the feeds host.

public:
 void TryShowAnnouncement(Platform::String ^ feedProviderDefinitionId, Platform::String ^ feedDefinitionId, FeedAnnouncement ^ announcement);
void TryShowAnnouncement(winrt::hstring const& feedProviderDefinitionId, winrt::hstring const& feedDefinitionId, FeedAnnouncement const& announcement);
public void TryShowAnnouncement(string feedProviderDefinitionId, string feedDefinitionId, FeedAnnouncement announcement);
function tryShowAnnouncement(feedProviderDefinitionId, feedDefinitionId, announcement)
Public Sub TryShowAnnouncement (feedProviderDefinitionId As String, feedDefinitionId As String, announcement As FeedAnnouncement)

Parameters

feedProviderDefinitionId
String

Platform::String

winrt::hstring

The definition ID of the feed provider.

feedDefinitionId
String

Platform::String

winrt::hstring

The definition ID of the feed.

announcement
FeedAnnouncement

A FeedAnnouncement object that provides the data for the announcement to be displayed.

Applies to