ESim.DiscoverAsync Method

Definition

Overloads

DiscoverAsync()

Asynchronously performs an eSIM profile discovery operation using the default SMDS address.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

DiscoverAsync(String, String)

Asynchronously performs an eSIM profile discovery operation for the supplied RSP server address and matching ID.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

DiscoverAsync()

Asynchronously performs an eSIM profile discovery operation using the default SMDS address.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

public:
 virtual IAsyncOperation<ESimDiscoverResult ^> ^ DiscoverAsync() = DiscoverAsync;
/// [Windows.Foundation.Metadata.Overload("DiscoverAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ESimDiscoverResult> DiscoverAsync();
[Windows.Foundation.Metadata.Overload("DiscoverAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ESimDiscoverResult> DiscoverAsync();
function discoverAsync()
Public Function DiscoverAsync () As IAsyncOperation(Of ESimDiscoverResult)

Returns

An ESimDiscoverResult object representing the result of the operation.

Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)
App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Examples

See Discover for code examples.

Remarks

See Discover for more info.

Applies to

DiscoverAsync(String, String)

Asynchronously performs an eSIM profile discovery operation for the supplied RSP server address and matching ID.

Note

This functionality is available only to mobile operator apps and UWP apps given privileged access by mobile network operators.

If you want to use this API and publish your app to the Microsoft Store, then you'll need to request special approval to use the custom capability Microsoft.eSIMManagement_8wekyb3d8bbwe. For more info, see Custom capabilities.

public:
 virtual IAsyncOperation<ESimDiscoverResult ^> ^ DiscoverAsync(Platform::String ^ serverAddress, Platform::String ^ matchingId) = DiscoverAsync;
/// [Windows.Foundation.Metadata.Overload("DiscoverWithServerAddressAndMatchingIdAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ESimDiscoverResult> DiscoverAsync(winrt::hstring const& serverAddress, winrt::hstring const& matchingId);
[Windows.Foundation.Metadata.Overload("DiscoverWithServerAddressAndMatchingIdAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ESimDiscoverResult> DiscoverAsync(string serverAddress, string matchingId);
function discoverAsync(serverAddress, matchingId)
Public Function DiscoverAsync (serverAddress As String, matchingId As String) As IAsyncOperation(Of ESimDiscoverResult)

Parameters

serverAddress
String

Platform::String

winrt::hstring

A string containing an RSP server address. If serverAddress is empty, the API uses the default SMDS address.

matchingId
String

Platform::String

winrt::hstring

A string containing the matching ID.

Returns

An ESimDiscoverResult object representing the result of the operation.

Attributes

Windows requirements

Device family
Windows 10, version 1903 (introduced in 10.0.18362.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v8.0)
App capabilities
Microsoft.eSIMManagement_8wekyb3d8bbwe

Examples

See Discover for code examples.

Remarks

See Discover for more info.

Applies to