Share via


Launcher.LaunchUriForResultsForUserAsync Method

Definition

Overloads

LaunchUriForResultsForUserAsync(User, Uri, LauncherOptions)

Asynchronously starts the default app associated with the URI scheme name for the specified URI using the specified options, and provides a specific User as context.

LaunchUriForResultsForUserAsync(User, 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, and provides a specific User as context.

LaunchUriForResultsForUserAsync(User, Uri, LauncherOptions)

Asynchronously starts the default app associated with the URI scheme name for the specified URI using the specified options, and provides a specific User as context.

public:
 static IAsyncOperation<LaunchUriResult ^> ^ LaunchUriForResultsForUserAsync(User ^ user, Uri ^ uri, LauncherOptions ^ options);
/// [Windows.Foundation.Metadata.Overload("LaunchUriForResultsForUserAsync")]
 static IAsyncOperation<LaunchUriResult> LaunchUriForResultsForUserAsync(User const& user, Uri const& uri, LauncherOptions const& options);
[Windows.Foundation.Metadata.Overload("LaunchUriForResultsForUserAsync")]
public static IAsyncOperation<LaunchUriResult> LaunchUriForResultsForUserAsync(User user, System.Uri uri, LauncherOptions options);
function launchUriForResultsForUserAsync(user, uri, options)
Public Shared Function LaunchUriForResultsForUserAsync (user As User, uri As Uri, options As LauncherOptions) As IAsyncOperation(Of LaunchUriResult)

Parameters

user
User

The user context to pass to the launched app.

uri
Uri Uri

The Uri.

options
LauncherOptions

The launch options.

Returns

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

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

See also

Applies to

LaunchUriForResultsForUserAsync(User, 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, and provides a specific User as context.

public:
 static IAsyncOperation<LaunchUriResult ^> ^ LaunchUriForResultsForUserAsync(User ^ user, Uri ^ uri, LauncherOptions ^ options, ValueSet ^ inputData);
/// [Windows.Foundation.Metadata.Overload("LaunchUriForResultsWithDataForUserAsync")]
 static IAsyncOperation<LaunchUriResult> LaunchUriForResultsForUserAsync(User const& user, Uri const& uri, LauncherOptions const& options, ValueSet const& inputData);
[Windows.Foundation.Metadata.Overload("LaunchUriForResultsWithDataForUserAsync")]
public static IAsyncOperation<LaunchUriResult> LaunchUriForResultsForUserAsync(User user, System.Uri uri, LauncherOptions options, ValueSet inputData);
function launchUriForResultsForUserAsync(user, uri, options, inputData)
Public Shared Function LaunchUriForResultsForUserAsync (user As User, uri As Uri, options As LauncherOptions, inputData As ValueSet) As IAsyncOperation(Of LaunchUriResult)

Parameters

user
User

The user context to pass to the launched app.

uri
Uri Uri

The Uri.

options
LauncherOptions

The launch options.

inputData
ValueSet

The data to send to the launched app.

Returns

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

Attributes

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

See also

Applies to