SmsTextMessage.PartReferenceId 属性

定义

指示当消息是多部分消息的一部分时可以使用的引用值。 如果此消息属于多部分消息,则 PartNumber 值可用于重新构造完整的原始消息,并且该消息的每个部分将具有相同的 PartReferenceId 值。

public:
 property unsigned int PartReferenceId { unsigned int get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
uint32_t PartReferenceId();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
uint32_t PartReferenceId();
public uint PartReferenceId { [Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public uint PartReferenceId { [Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var uInt32 = smsTextMessage.partReferenceId;
Public ReadOnly Property PartReferenceId As UInteger

属性值

UInt32

unsigned int

uint32_t

由发送网络确定的无符号整数;无法通过此接口对其进行操作。 如果网络在多部分消息的生存期内有自己的策略,则此引用编号可能无限期无效。

实现

属性

Windows 要求

应用功能
cellularMessaging sms

适用于