ContactMessageActivatedEventArgs.ServiceId 속성

정의

메시지에 사용되는 서비스의 식별자를 가져옵니다.

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

속성 값

String

Platform::String

winrt::hstring

메시지에 사용되는 서비스의 식별자입니다.

구현

설명

표준 문자 메시지의 경우 ServiceId 속성은 "전화"로 설정됩니다. 웹 서비스 기반 메시징의 경우 ServiceId 속성은 메시징에 사용할 서비스의 도메인 이름(예: "skype.com")으로 설정됩니다. 앱은 앱이 매니페스트에 등록한 "ServiceId" 요소와 일치하는 ServiceIds에 대한 메시지 활성화만 받습니다.

연락처 작업을 통해 앱 활성화를 처리하는 방법에 대한 자세한 내용은 빠른 시작: 연락처 작업 처리를 참조하세요 .

적용 대상

추가 정보