ProximityMessage.MessageType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the type of the message.
public:
property Platform::String ^ MessageType { Platform::String ^ get(); };
winrt::hstring MessageType();
public string MessageType { get; }
var string = proximityMessage.messageType;
Public ReadOnly Property MessageType As String
Property Value
The type of the message.
Windows requirements
App capabilities |
proximity
ID_CAP_PROXIMITY [Windows Phone]
|
Remarks
Messages are delivered to all applications that have subscribed to the message type (as indicated by the messageType parameter). Message type values are case-sensitive strings that consist of two parts: the protocol and the subtype. The protocol is first, followed by a dot (.) and then the subtype. For the PublishMessage method, the protocol must always be "Windows.". The subtype is a string of alphanumeric characters and the following additional characters: . ( ) + , - : = @ ; $ _ ! * ’. The subtype cannot exceed a length of 250 characters.