Udostępnij za pośrednictwem


ContactCallActivatedEventArgs.ServiceId Property

Definition

Gets the identifier of the service used for the call.

public:
 property Platform::String ^ ServiceId { Platform::String ^ get(); };
winrt::hstring ServiceId();
public string ServiceId { get; }
var string = contactCallActivatedEventArgs.serviceId;
Public ReadOnly Property ServiceId As String

Property Value

String

Platform::String

winrt::hstring

The identifier of the service used for the call.

Implements

Remarks

For PSTN calls, the ServiceId property is set to "telephone." For web-based services, the ServiceId property is set to the domain name of the service to be used for calling, for example “skype.com”. Your app will only receive call 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