共用方式為


SocialInfoProviderManager.ReportNewContentAvailable 方法

定義

警示系統,此應用程式提供新的社交媒體內容。

public:
 static void ReportNewContentAvailable(Platform::String ^ contactRemoteId, SocialFeedKind kind);
 static void ReportNewContentAvailable(winrt::hstring const& contactRemoteId, SocialFeedKind const& kind);
/// [Windows.Foundation.Metadata.Deprecated("ISocialInfoProviderManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
 static void ReportNewContentAvailable(winrt::hstring const& contactRemoteId, SocialFeedKind const& kind);
public static void ReportNewContentAvailable(string contactRemoteId, SocialFeedKind kind);
[Windows.Foundation.Metadata.Deprecated("ISocialInfoProviderManagerStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
public static void ReportNewContentAvailable(string contactRemoteId, SocialFeedKind kind);
function reportNewContentAvailable(contactRemoteId, kind)
Public Shared Sub ReportNewContentAvailable (contactRemoteId As String, kind As SocialFeedKind)

參數

contactRemoteId
String

Platform::String

winrt::hstring

識別提供者系統上使用者的識別碼。

kind
SocialFeedKind

社交媒體摘要的類型。

屬性

適用於