Partager via


SocialInfoProviderManager.CreateSocialFeedUpdaterAsync Méthode

Définition

Crée un objet SocialFeedUpdater qui peut être utilisé comme tâche.

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)

Paramètres

kind
SocialFeedKind

Type du flux de médias sociaux à créer.

mode
SocialFeedUpdateMode

Spécifie le mode d’ajout ou de remplacement.

ownerRemoteId
String

Platform::String

winrt::hstring

ID qui identifie l’utilisateur sur le système du fournisseur.

Retours

Objet SocialFeedUpdater nouvellement créé.

Attributs

S’applique à