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) |
更新鎖定畫面徽章上的計數值。 |