ProximityDevice.StopSubscribingForMessage | stopSubscribingForMessage method

Applies to Windows and Windows Phone

Cancels a message subscription.

Syntax


public:
void StopSubscribingForMessage(
  long long subscriptionId
)

Parameters

subscriptionId

Type: Number [JavaScript] | System.Int64 [.NET] | int64 [C++]

The subscription ID for the message.

Remarks

The subscription ID for a message subscription is returned from the SubscribeForMessage method.

Examples

No code example is currently available or this language may not be supported.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8

Namespace

Windows.Networking.Proximity
Windows::Networking::Proximity [C++]

Metadata

Windows.winmd

Capabilities

proximity
ID_CAP_PROXIMITY [Windows Phone]

See also

ProximityDevice
Proximity and Tapping (JavaScript)
Proximity and Tapping (C#/VB/C++)
Samples
Proximity sample

 

 

Show:
© 2014 Microsoft