ContactMessageActivatedEventArgs.ServiceId 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 identifier of the service used for the message.
public:
property Platform::String ^ ServiceId { Platform::String ^ get(); };
winrt::hstring ServiceId();
public string ServiceId { get; }
var string = contactMessageActivatedEventArgs.serviceId;
Public ReadOnly Property ServiceId As String
Property Value
The identifier of the service used for the message.
Implements
Remarks
For standard text messages, the ServiceId property is set to "telephone." For web service-based messaging, the ServiceId property is set to the domain name of the service to be used for messaging, for example “skype.com”. Your app will only receive message activations for ServiceIds that match the "ServiceId" elements that your app has registered in its manifest.
For info about how to handle app activation through contact actions, see Quickstart: Handling contact actions .