SocialDashboardItemUpdater SocialDashboardItemUpdater SocialDashboardItemUpdater SocialDashboardItemUpdater Class

Definition

Represents a task that can update dashboard items.

public : sealed class SocialDashboardItemUpdater : ISocialDashboardItemUpdaterpublic sealed class SocialDashboardItemUpdater : ISocialDashboardItemUpdaterPublic NotInheritable Class SocialDashboardItemUpdater Implements ISocialDashboardItemUpdater// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0) Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.ApplicationModel.SocialInfo.SocialInfoContract (introduced v1)

Remarks

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

Properties

Content Content Content Content

Gets a SocialFeedContent object which can be updated.

public : SocialFeedContent Content { get; }public SocialFeedContent Content { get; }Public ReadOnly Property Content As SocialFeedContent// You can use this property in JavaScript.

OwnerRemoteId OwnerRemoteId OwnerRemoteId OwnerRemoteId

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

public : PlatForm::String OwnerRemoteId { get; }public string OwnerRemoteId { get; }Public ReadOnly Property OwnerRemoteId As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

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

TargetUri TargetUri TargetUri TargetUri

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

public : Uri TargetUri { get; set; }public Uri TargetUri { get; set; }Public ReadWrite Property TargetUri As Uri// You can use this property in JavaScript.
Value
Uri Uri Uri Uri

The URI that is navigated to when the user taps the item.

Thumbnail Thumbnail Thumbnail Thumbnail

Gets or sets the thumbnail image for the dashboard item.

public : SocialItemThumbnail Thumbnail { get; set; }public SocialItemThumbnail Thumbnail { get; set; }Public ReadWrite Property Thumbnail As SocialItemThumbnail// You can use this property in JavaScript.
Value
SocialItemThumbnail SocialItemThumbnail SocialItemThumbnail SocialItemThumbnail

The thumbnail image for the dashboard item.

Timestamp Timestamp Timestamp Timestamp

Gets or sets the timestamp for the update.

public : DateTime Timestamp { get; set; }public DateTimeOffset Timestamp { get; set; }Public ReadWrite Property Timestamp As DateTimeOffset// You can use this property in JavaScript.
Value
DateTime DateTimeOffset DateTimeOffset DateTimeOffset

The timestamp for the update.

Methods

CommitAsync() CommitAsync() CommitAsync() CommitAsync()

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

public : IAsyncAction CommitAsync()public IAsyncAction CommitAsync()Public Function CommitAsync() As IAsyncAction// You can use this method in JavaScript.
Returns

An async action indicating that the operation has completed.