Compartir a través de


IFeedManager2.TryShowAnnouncement(String, String, FeedAnnouncement) Método

Definición

Definición de interfaz de un método que solicita que se muestre un anuncio en el host de fuentes.

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)

Parámetros

feedProviderDefinitionId
String

Platform::String

winrt::hstring

Identificador de definición del proveedor de fuentes.

feedDefinitionId
String

Platform::String

winrt::hstring

Identificador de definición de la fuente.

announcement
FeedAnnouncement

Objeto feedAnnouncement que proporciona los datos para que se muestre el anuncio.

Se aplica a