Web.DoesPushNotificationSubscriberExist - Méthode
Returns a Boolean value that indicates whether the push notification subscriber exists for the current user with the given device app instance identifier.
Espace de noms : Microsoft.SharePoint.Client
Assemblys : Microsoft.SharePoint.Client.Silverlight (dans Microsoft.SharePoint.Client.Silverlight.dll); Microsoft.SharePoint.Client.Phone (dans Microsoft.SharePoint.Client.Phone.dll) Microsoft.SharePoint.Client (dans Microsoft.SharePoint.Client.dll)
Syntaxe
'Déclaration
Public Function DoesPushNotificationSubscriberExist ( _
deviceAppInstanceId As Guid _
) As ClientResult(Of Boolean)
'Utilisation
Dim instance As Web
Dim deviceAppInstanceId As Guid
Dim returnValue As ClientResult(Of Boolean)
returnValue = instance.DoesPushNotificationSubscriberExist(deviceAppInstanceId)
public ClientResult<bool> DoesPushNotificationSubscriberExist(
Guid deviceAppInstanceId
)
Paramètres
deviceAppInstanceId
Type : System.GuidDevice application instance identifier.
Valeur renvoyée
Type : Microsoft.SharePoint.Client.ClientResult<Boolean>
true if the subscription exists.