SocialInfoProviderManager.CreateSocialFeedUpdaterAsync 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立可用來做為工作的新 SocialFeedUpdater 物件。
public:
static IAsyncOperation<SocialFeedUpdater ^> ^ CreateSocialFeedUpdaterAsync(SocialFeedKind kind, SocialFeedUpdateMode mode, Platform::String ^ ownerRemoteId);
/// [Windows.Foundation.Metadata.RemoteAsync]
static IAsyncOperation<SocialFeedUpdater> CreateSocialFeedUpdaterAsync(SocialFeedKind const& kind, SocialFeedUpdateMode const& mode, winrt::hstring const& ownerRemoteId);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [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 IAsyncOperation<SocialFeedUpdater> CreateSocialFeedUpdaterAsync(SocialFeedKind const& kind, SocialFeedUpdateMode const& mode, winrt::hstring const& ownerRemoteId);
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<SocialFeedUpdater> CreateSocialFeedUpdaterAsync(SocialFeedKind kind, SocialFeedUpdateMode mode, string ownerRemoteId);
[Windows.Foundation.Metadata.RemoteAsync]
[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 IAsyncOperation<SocialFeedUpdater> CreateSocialFeedUpdaterAsync(SocialFeedKind kind, SocialFeedUpdateMode mode, string ownerRemoteId);
function createSocialFeedUpdaterAsync(kind, mode, ownerRemoteId)
Public Shared Function CreateSocialFeedUpdaterAsync (kind As SocialFeedKind, mode As SocialFeedUpdateMode, ownerRemoteId As String) As IAsyncOperation(Of SocialFeedUpdater)
參數
- kind
- SocialFeedKind
要建立的社交媒體摘要類型。
- mode
- SocialFeedUpdateMode
指定附加或取代模式。
- ownerRemoteId
-
String
Platform::String
winrt::hstring
識別提供者系統上使用者的識別碼。
傳回
新建立 的 SocialFeedUpdater 物件。
- 屬性