Share via


SocialDashboardItemUpdater Class

Definition

Represents a task that can update dashboard items.

public ref class SocialDashboardItemUpdater 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 SocialDashboardItemUpdater 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("SocialDashboardItemUpdater 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 SocialDashboardItemUpdater 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 SocialDashboardItemUpdater
[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("SocialDashboardItemUpdater 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 SocialDashboardItemUpdater
Public NotInheritable Class SocialDashboardItemUpdater
Inheritance
Object Platform::Object IInspectable SocialDashboardItemUpdater
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (introduced in v1.0)

Remarks

Call SocialInfoProviderManager.CreateDashboardItemUpdaterAsync to create an instance of this class.

Properties

Content

Gets a SocialFeedContent object which can be updated.

OwnerRemoteId

Gets the ID that identifies the user on the provider's system.

TargetUri

Gets or sets the uniform resource identifier (URI) that is navigated to when the user taps the item.

Thumbnail

Gets or sets the thumbnail image for the dashboard item.

Timestamp

Gets or sets the timestamp for the update.

Methods

CommitAsync()

Asynchronously submits the update after all the properties have been set.

Applies to