共用方式為


ISmsDevice.DeviceStatus 屬性

定義

傳回 SMS 裝置的狀態,指出裝置是否已就緒。 如果裝置尚未就緒,它也會推斷出發生何種類型的問題。

public:
 property SmsDeviceStatus DeviceStatus { SmsDeviceStatus get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
SmsDeviceStatus DeviceStatus();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
SmsDeviceStatus DeviceStatus();
public SmsDeviceStatus DeviceStatus { [Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public SmsDeviceStatus DeviceStatus { [Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var smsDeviceStatus = iSmsDevice.deviceStatus;
Public ReadOnly Property DeviceStatus As SmsDeviceStatus

屬性值

列舉值,表示 SMS 裝置的整備程度,以參與行動資料網路流量作業。

屬性

Windows 需求

應用程式功能
cellularMessaging sms

適用於