SocialInfoProviderManager.CreateSocialFeedUpdaterAsync 方法

定义

创建可用作任务的新 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

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

返回

新创建的 SocialFeedUpdater 对象。

属性

适用于