Share via


SocialInfoProviderManager.UpdateBadgeCountValue(String, Int32) Method

Definition

Updates the count value on the lock screen badge.

public:
 static void UpdateBadgeCountValue(Platform::String ^ itemRemoteId, int newCount);
 static void UpdateBadgeCountValue(winrt::hstring const& itemRemoteId, int const& newCount);
/// [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 void UpdateBadgeCountValue(winrt::hstring const& itemRemoteId, int const& newCount);
public static void UpdateBadgeCountValue(string itemRemoteId, int newCount);
[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 void UpdateBadgeCountValue(string itemRemoteId, int newCount);
function updateBadgeCountValue(itemRemoteId, newCount)
Public Shared Sub UpdateBadgeCountValue (itemRemoteId As String, newCount As Integer)

Parameters

itemRemoteId
String

Platform::String

winrt::hstring

Identifies the contact on the provider's system.

newCount
Int32

int

The new count value to display on the badge.

Attributes

Applies to