IWindowsPhoneService.IsSubscribedToNotifications Method

[IWindowsPhoneService.IsSubscribedToNotifications is no longer available for use as of Windows Server 2012 Essentials.] Indicates whether a device is registered for notifications.

Namespace: Microsoft.WindowsServerSolutions.Mobile.Web.WindowsPhone
Assembly: MobileWeb (in MobileWeb.dll)

Usage

'Usage
Dim instance As IWindowsPhoneService
Dim deviceUid As String
Dim returnValue As Boolean

returnValue = instance.IsSubscribedToNotifications(deviceUid)

Syntax

'Declaration
<OperationContractAttribute> _
Function IsSubscribedToNotifications ( _
    deviceUid As String _
) As Boolean
[OperationContractAttribute] 
bool IsSubscribedToNotifications (
    string deviceUid
)
[OperationContractAttribute] 
bool IsSubscribedToNotifications (
    String^ deviceUid
)
/** @attribute OperationContractAttribute() */ 
boolean IsSubscribedToNotifications (
    String deviceUid
)
OperationContractAttribute 
function IsSubscribedToNotifications (
    deviceUid : String
) : boolean

Parameters

  • deviceUid
    Unique ID of the device to query.

Return Value

Returns Boolean. true if the device has been registered for notifications; otherwise false.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows Server 2008 R2 x64, Windows 7 x64, Windows Server 2008 x64, Windows Vista x64

See Also

Reference

IWindowsPhoneService Interface
IWindowsPhoneService Members
Microsoft.WindowsServerSolutions.Mobile.Web.WindowsPhone Namespace

Copyright © 2012 by Microsoft Corporation. All rights reserved.