SmsDevice.FromNetworkAccountIdAsync | fromNetworkAccountIdAsync method

Applies to Windows only

Creates an instance of SmsDevice for the specified Mobile Broadband network account ID.

Note  This functionality is only available to mobile operator apps and Windows Store apps given privileged access by mobile network operators, mobile broadband adapter IHV, or OEM. For more information, see Mobile Broadband: Windows Store device apps.

Syntax


Windows.Devices.Sms.SmsDevice.fromNetworkAccountIdAsync(networkAccountId).done( /* Your success and error handlers */ );

Parameters

networkAccountId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

The Mobile Broadband network account ID to use to select the corresponding mobile broadband device to use for the SMS device

Return value

Type: IAsyncOperation<SmsDevice>

When this method completes, it returns the SmsDevice for the specified Mobile Broadband network account ID.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

None supported

Namespace

Windows.Devices.Sms
Windows::Devices::Sms [C++]

Metadata

Windows.winmd

See also

SmsDevice

 

 

Show:
© 2014 Microsoft