Partager via


SmsDevice.DeviceStatus Propriété

Définition

Retourne la status de l’appareil SMS, qui indique si l’appareil est prêt ou non. Il indique également quel type de problème existe si l’appareil n’est pas prêt.

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

Valeur de propriété

Valeur énumérée qui indique la préparation d’un appareil SMS à participer à des opérations de trafic de réseau cellulaire.

Implémente

Attributs

Configuration requise pour Windows

Fonctionnalités de l’application
cellularMessaging sms

S’applique à