StopPublishingMessage | stopPublishingMessage method

ProximityDevice.StopPublishingMessage | stopPublishingMessage method

Stops publishing a message.

Syntax


public:
void StopPublishingMessage(
  long long messageId
)

Parameters

messageId

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

The publication ID for the message.

Remarks

The publication ID for a message is returned from the PublishMessage, PublishBinaryMessage, and PublishUriMessage methods.

Examples

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

Requirements (Windows 10 device family)

Device family

Universal, introduced version 10.0.10240.0 [for Xbox, see UWP features that aren't yet supported on Xbox]

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Capabilities

proximity

Requirements (Windows 8.x and Windows Phone 8.x)

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:
© 2016 Microsoft