SmsDeviceStatusChangedEventHandler 대리자

정의

이 처리기는 SMS 디바이스의 상태 변경되면 호출됩니다. 호출자는 디바이스에서 중대한 상태 변경이 발생할 때 알림을 받으려는 경우 이를 구현해야 합니다. 예를 들어 호출자는 디바이스가 언제 메시지를 보내고 받을 준비가 되었는지 알고 싶을 수 있습니다.

참고

이 기능은 모바일 네트워크 운영자, 모바일 광대역 어댑터 IHV 또는 OEM에서 권한 있는 액세스 권한이 부여된 통신사 앱 및 UWP 앱에서만 사용할 수 있습니다. 자세한 내용은 모바일 광대역을 참조하세요.

public delegate void SmsDeviceStatusChangedEventHandler(SmsDevice ^ sender);
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("SmsDeviceStatusChangedEventHandler may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
/// [Windows.Foundation.Metadata.Guid(2552959330, 15831, 17944, 175, 137, 12, 39, 45, 93, 6, 216)]
class SmsDeviceStatusChangedEventHandler : MulticastDelegate
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2552959330, 15831, 17944, 175, 137, 12, 39, 45, 93, 6, 216)]
/// [Windows.Foundation.Metadata.Deprecated("SmsDeviceStatusChangedEventHandler may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
class SmsDeviceStatusChangedEventHandler : MulticastDelegate
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("SmsDeviceStatusChangedEventHandler may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
[Windows.Foundation.Metadata.Guid(2552959330, 15831, 17944, 175, 137, 12, 39, 45, 93, 6, 216)]
public delegate void SmsDeviceStatusChangedEventHandler(SmsDevice sender);
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2552959330, 15831, 17944, 175, 137, 12, 39, 45, 93, 6, 216)]
[Windows.Foundation.Metadata.Deprecated("SmsDeviceStatusChangedEventHandler may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public delegate void SmsDeviceStatusChangedEventHandler(SmsDevice sender);
var smsDeviceStatusChangedEventHandlerHandler = function(sender){
/* Your code */
}
Public Delegate Sub SmsDeviceStatusChangedEventHandler(sender As SmsDevice)

매개 변수

sender
SmsDevice

이벤트를 보낸 디바이스 개체에 대한 참조입니다.

특성

Windows 요구 사항

디바이스 패밀리
Windows Desktop Extension SDK (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Devices.Sms.LegacySmsApiContract (v1.0에서 도입되었습니다.)
앱 기능
cellularMessaging sms

적용 대상