次の方法で共有


SmsDevice.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 = smsDevice.deviceStatus;
Public ReadOnly Property DeviceStatus As SmsDeviceStatus

プロパティ値

SMS デバイスが携帯ネットワーク トラフィック操作に関与する準備ができていることを示す列挙値。

実装

属性

Windows の要件

アプリの機能
cellularMessaging sms

適用対象