다음을 통해 공유


SmsDevice.FromNetworkAccountIdAsync(String) 메서드

정의

지정된 모바일 광대역 네트워크 계정 ID에 대한 SmsDevice instance 만듭니다.

public:
 static IAsyncOperation<SmsDevice ^> ^ FromNetworkAccountIdAsync(Platform::String ^ networkAccountId);
/// [Windows.Foundation.Metadata.Deprecated("ISmsDeviceStatics2 may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
/// [Windows.Foundation.Metadata.RemoteAsync]
 static IAsyncOperation<SmsDevice> FromNetworkAccountIdAsync(winrt::hstring const& networkAccountId);
/// [Windows.Foundation.Metadata.RemoteAsync]
/// [Windows.Foundation.Metadata.Deprecated("ISmsDeviceStatics2 may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
 static IAsyncOperation<SmsDevice> FromNetworkAccountIdAsync(winrt::hstring const& networkAccountId);
[Windows.Foundation.Metadata.Deprecated("ISmsDeviceStatics2 may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
[Windows.Foundation.Metadata.RemoteAsync]
public static IAsyncOperation<SmsDevice> FromNetworkAccountIdAsync(string networkAccountId);
[Windows.Foundation.Metadata.RemoteAsync]
[Windows.Foundation.Metadata.Deprecated("ISmsDeviceStatics2 may be altered or unavailable for releases after Windows 10.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public static IAsyncOperation<SmsDevice> FromNetworkAccountIdAsync(string networkAccountId);
function fromNetworkAccountIdAsync(networkAccountId)
Public Shared Function FromNetworkAccountIdAsync (networkAccountId As String) As IAsyncOperation(Of SmsDevice)

매개 변수

networkAccountId
String

Platform::String

winrt::hstring

SMS 디바이스에 사용할 해당 모바일 광대역 디바이스를 선택하는 데 사용할 모바일 광대역 네트워크 계정 ID

반환

이 메서드가 완료되면 지정된 모바일 광대역 네트워크 계정 ID에 대한 SmsDevice 를 반환합니다.

특성

Windows 요구 사항

앱 기능
cellularMessaging sms

적용 대상