Udostępnij za pośrednictwem


ContactMessageActivatedEventArgs.ServiceId Property

Definition

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

String

Platform::String

winrt::hstring

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 .

Applies to

See also