Partager via


SocialInfoProviderManager.UpdateBadgeCountValue(String, Int32) Méthode

Définition

Mises à jour la valeur de comptage sur le badge de l’écran de verrouillage.

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)

Paramètres

itemRemoteId
String

Platform::String

winrt::hstring

Identifie le contact sur le système du fournisseur.

newCount
Int32

int

Nouvelle valeur de nombre à afficher sur le badge.

Attributs

S’applique à