Jaa


ProximityMessage.MessageType Property

Definition

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

String

Platform::String

winrt::hstring

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.

Applies to

See also