SocialInfoProviderManager.CreateSocialFeedUpdaterAsync Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new SocialFeedUpdater object that can be used as a task.
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)
Parameters
- kind
- SocialFeedKind
The type of the social media feed to create.
- mode
- SocialFeedUpdateMode
Specifies append or replace mode.
- ownerRemoteId
-
String
Platform::String
winrt::hstring
The ID that identifies the user on the provider's system.
Returns
The newly created SocialFeedUpdater object.
- Attributes