Condividi tramite


SocialInfoProviderManager.CreateSocialFeedUpdaterAsync Metodo

Definizione

Crea un nuovo oggetto SocialFeedUpdater che può essere utilizzato come attività.

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)

Parametri

kind
SocialFeedKind

Tipo di feed di social media da creare.

mode
SocialFeedUpdateMode

Specifica la modalità di accodamento o sostituzione.

ownerRemoteId
String

Platform::String

winrt::hstring

ID che identifica l'utente nel sistema del provider.

Restituisce

Oggetto SocialFeedUpdater appena creato.

Attributi

Si applica a