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

标识提供程序系统上的用户的 ID。

kind
SocialFeedKind

社交媒体源的类型。

属性

适用于