Condividi tramite


SocialFeedUpdater Classe

Definizione

Rappresenta un'attività che può essere utilizzata per aggiornare un feed di social media.

public ref class SocialFeedUpdater 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 SocialFeedUpdater 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("SocialFeedUpdater 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 SocialFeedUpdater 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 sealed class SocialFeedUpdater
[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("SocialFeedUpdater 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 sealed class SocialFeedUpdater
Public NotInheritable Class SocialFeedUpdater
Ereditarietà
Object Platform::Object IInspectable SocialFeedUpdater
Attributi

Requisiti Windows

Famiglia di dispositivi
Windows Mobile Extension SDK (è stato introdotto in 10.0.10240.0)
Windows 10 Anniversary Edition (è stato introdotto in 10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (è stato introdotto in v1.0)

Commenti

Chiamare SocialInfoProviderManager.CreateSocialFeedUpdaterAsync per ottenere un'istanza di questa classe.

Proprietà

Items

Ottiene l'elenco degli elementi del feed di social media.

Kind

Ottiene il tipo del feed dei social media.

OwnerRemoteId

Ottiene l'ID che identifica l'utente nel sistema del provider.

Metodi

CommitAsync()

Invia in modo asincrono l'aggiornamento dopo che tutte le proprietà sono state impostate.

Si applica a