GetSmsDeviceOperation 클래스

정의

SmsDevice 개체를 비동기적으로 검색합니다.

참고

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

참고

이 클래스 및 해당 메서드는 이전 버전의 Windows에서 사용한 레거시 데스크톱 앱의 유지 관리를 위해 지원됩니다. 이 클래스를 사용하는 경우 앱 매니페스트에서 Windows.Devices.Sms.LegacySmsApiContract 를 지정해야 합니다. Windows용 새 앱을 개발하는 경우 이 클래스를 사용하지 마세요. 대신 Windows.Devices.Sms.LegacySmsApiContract가 필요하지 않은 이 네임스페이스의 API를 사용합니다.

public ref class GetSmsDeviceOperation sealed : IAsyncOperation<SmsDevice ^>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("GetSmsDeviceOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
class GetSmsDeviceOperation final : IAsyncOperation<SmsDevice>
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Devices.Sms.LegacySmsApiContract, 65536)]
/// [Windows.Foundation.Metadata.Deprecated("GetSmsDeviceOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
class GetSmsDeviceOperation final : IAsyncOperation<SmsDevice>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("GetSmsDeviceOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
public sealed class GetSmsDeviceOperation : IAsyncOperation<SmsDevice>
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Devices.Sms.LegacySmsApiContract), 65536)]
[Windows.Foundation.Metadata.Deprecated("GetSmsDeviceOperation may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public sealed class GetSmsDeviceOperation : IAsyncOperation<SmsDevice>
Public NotInheritable Class GetSmsDeviceOperation
Implements IAsyncOperation(Of SmsDevice)
상속
Object Platform::Object IInspectable GetSmsDeviceOperation
특성
구현

Windows 요구 사항

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

속성

Completed

비동기 SmsDevice 개체 검색 작업이 완료되었는지 여부를 지정합니다.

ErrorCode

비동기 SmsDevice 개체 검색 작업에 대한 오류 코드를 지정합니다.

Id

비동기 SmsDevice 개체 검색 작업의 ID를 지정합니다.

Status

비동기 SmsDevice 개체 검색 작업의 상태 지정합니다.

메서드

Cancel()

비동기 SmsDevice 개체 검색을 취소합니다.

Close()

비동기 SmsDevice 개체 검색 작업을 닫습니다.

GetResults()

비동기 SmsDevice 개체 검색 작업의 결과를 가져옵니다.

적용 대상