ProximityMessage.MessageType ProximityMessage.MessageType ProximityMessage.MessageType ProximityMessage.MessageType ProximityMessage.MessageType Property

Definition

Gets the type of the message.

public : Platform::String MessageType { get; }
winrt::hstring MessageType();
public string MessageType { get; }
Public ReadOnly Property MessageType As string
var string = proximityMessage.messageType;

Property Value

string string string

The type of the message.

Additional features and requirements

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.

See also