Compartilhar via


SmsDevice.FromNetworkAccountIdAsync(String) Método

Definição

Cria uma instância de SmsDevice para a ID da conta de rede de Banda Larga Móvel especificada.

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)

Parâmetros

networkAccountId
String

Platform::String

winrt::hstring

A ID da conta de rede de Banda Larga Móvel a ser usada para selecionar o dispositivo de banda larga móvel correspondente a ser usado para o dispositivo SMS

Retornos

Quando esse método for concluído, ele retornará o SmsDevice para a ID da conta de rede de Banda Larga Móvel especificada.

Atributos

Requisitos do Windows

Funcionalidades do aplicativo
cellularMessaging sms

Aplica-se a