Condividi tramite


ISmsDevice.DeviceStatus Proprietà

Definizione

Restituisce lo stato del dispositivo SMS, che indica se il dispositivo è pronto o meno. Indcate anche il tipo di problema se il dispositivo non è pronto.

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

Valore della proprietà

Valore enumerato che indica l'idoneità di un dispositivo SMS a eseguire operazioni di traffico di rete cellulare.

Attributi

Requisiti Windows

Funzionalità dell'app
cellularMessaging sms

Si applica a