ContactMessageActivatedEventArgs.ServiceUserId 属性

定义

获取用于消息的服务的用户标识符。

public:
 property Platform::String ^ ServiceUserId { Platform::String ^ get(); };
winrt::hstring ServiceUserId();
public string ServiceUserId { get; }
var string = contactMessageActivatedEventArgs.serviceUserId;
Public ReadOnly Property ServiceUserId As String

属性值

String

Platform::String

winrt::hstring

用于消息的服务的用户标识符。

实现

注解

对于标准短信,ServiceUserId 属性设置为联系人的移动电话号码。 对于基于 Web 的服务,ServiceUserId 属性设置为该特定服务联系人的用户 ID。

有关如何通过联系人操作处理应用激活的信息,请参阅 快速入门:处理联系人操作

适用于

另请参阅