Launcher.LaunchUriForResultsAsync Launcher.LaunchUriForResultsAsync Launcher.LaunchUriForResultsAsync Launcher.LaunchUriForResultsAsync Launcher.LaunchUriForResultsAsync Method

Definition

Overloads

LaunchUriForResultsAsync(Uri, LauncherOptions) LaunchUriForResultsAsync(Uri, LauncherOptions) LaunchUriForResultsAsync(Uri, LauncherOptions) LaunchUriForResultsAsync(Uri, LauncherOptions) LaunchUriForResultsAsync(Uri, LauncherOptions)

Asynchronously starts the default app associated with the URI scheme name for the specified URI, using the specified options.

LaunchUriForResultsAsync(Uri, LauncherOptions, ValueSet) LaunchUriForResultsAsync(Uri, LauncherOptions, ValueSet) LaunchUriForResultsAsync(Uri, LauncherOptions, ValueSet) LaunchUriForResultsAsync(Uri, LauncherOptions, ValueSet) LaunchUriForResultsAsync(Uri, LauncherOptions, ValueSet)

Asynchronously starts the default app associated with the URI scheme name for the specified URI, using the specified options and input data.

LaunchUriForResultsAsync(Uri, LauncherOptions) LaunchUriForResultsAsync(Uri, LauncherOptions) LaunchUriForResultsAsync(Uri, LauncherOptions) LaunchUriForResultsAsync(Uri, LauncherOptions) LaunchUriForResultsAsync(Uri, LauncherOptions)

Asynchronously starts the default app associated with the URI scheme name for the specified URI, using the specified options.

public : static IAsyncOperation<LaunchUriResult> LaunchUriForResultsAsync(Uri uri, LauncherOptions options)
static IAsyncOperation<LaunchUriResult> LaunchUriForResultsAsync(Uri uri, LauncherOptions options) const;
public static IAsyncOperation<LaunchUriResult> LaunchUriForResultsAsync(Uri uri, LauncherOptions options)
Public Shared Function LaunchUriForResultsAsync(uri As Uri, options As LauncherOptions) As IAsyncOperation(Of LaunchUriResult)
Windows.System.Launcher.launchUriForResultsAsync(uri, options).done( /* Your success and error handlers */ );

Parameters

uri
Uri Uri Uri

The Uri to launch.

options
LauncherOptions LauncherOptions LauncherOptions

The launch options.

Returns

When this method completes, it returns the results of the launch.

Remarks

Launching an app for results allows you to launch an app from another app and exchange data between the two.

This API must be called from within an ASTA thread (also known as a UI thread).

See also

LaunchUriForResultsAsync(Uri, LauncherOptions, ValueSet) LaunchUriForResultsAsync(Uri, LauncherOptions, ValueSet) LaunchUriForResultsAsync(Uri, LauncherOptions, ValueSet) LaunchUriForResultsAsync(Uri, LauncherOptions, ValueSet) LaunchUriForResultsAsync(Uri, LauncherOptions, ValueSet)

Asynchronously starts the default app associated with the URI scheme name for the specified URI, using the specified options and input data.

public : static IAsyncOperation<LaunchUriResult> LaunchUriForResultsAsync(Uri uri, LauncherOptions options, ValueSet inputData)
static IAsyncOperation<LaunchUriResult> LaunchUriForResultsAsync(Uri uri, LauncherOptions options, ValueSet inputData) const;
public static IAsyncOperation<LaunchUriResult> LaunchUriForResultsAsync(Uri uri, LauncherOptions options, ValueSet inputData)
Public Shared Function LaunchUriForResultsAsync(uri As Uri, options As LauncherOptions, inputData As ValueSet) As IAsyncOperation(Of LaunchUriResult)
Windows.System.Launcher.launchUriForResultsAsync(uri, options, inputData).done( /* Your success and error handlers */ );

Parameters

uri
Uri Uri Uri

The Uri to launch.

options
LauncherOptions LauncherOptions LauncherOptions

The launch options.

inputData
ValueSet ValueSet ValueSet

The data to send to the launched app.

Returns

When this method completes, it returns the results of the launch.

Remarks

Launching an app for results allows you to launch an app from another app and exchange data between the two.

This API must be called from within an ASTA thread (also known as a UI thread).

See also