SocialInfoProviderManager 类
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
为应用提供使用社交媒体扩展性的功能。
public ref class SocialInfoProviderManager abstract sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.SocialInfo.SocialInfoContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class SocialInfoProviderManager final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.SocialInfo.SocialInfoContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Deprecated("SocialInfoProviderManager is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 131072, "Windows.ApplicationModel.SocialInfo.SocialInfoContract")]
class SocialInfoProviderManager final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.SocialInfo.SocialInfoContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public static class SocialInfoProviderManager
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.SocialInfo.SocialInfoContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Deprecated("SocialInfoProviderManager 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 class SocialInfoProviderManager
Public Class SocialInfoProviderManager
- 继承
- 属性
Windows 要求
设备系列 |
Windows Mobile Extension SDK (在 10.0.10240.0 中引入)
Windows 10 Anniversary Edition (在 10.0.14393.0 中引入) |
API contract |
Windows.ApplicationModel.SocialInfo.SocialInfoContract (在 v1.0 中引入)
|
注解
这是一个静态类。
方法
CreateDashboardItemUpdaterAsync(String) |
创建可用作任务的新 SocialDashboardItemUpdater 对象。 |
CreateSocialFeedUpdaterAsync(SocialFeedKind, SocialFeedUpdateMode, String) |
创建可用作任务的新 SocialFeedUpdater 对象。 |
DeprovisionAsync() |
使用社交媒体扩展性取消预配应用。 |
ProvisionAsync() |
预配应用以使用社交媒体扩展性。 |
ReportNewContentAvailable(String, SocialFeedKind) |
提醒系统从此应用获取新的社交媒体内容。 |
UpdateBadgeCountValue(String, Int32) |
汇报锁屏提醒上的计数值。 |