Share via


Launcher.LaunchUriForUserAsync Method

Definition

Overloads

LaunchUriForUserAsync(User, Uri)

Starts the default multi-user app associated with the URI scheme name for the specified URI and provides a specific User as context.

LaunchUriForUserAsync(User, Uri, LauncherOptions)

Starts the default multi-user app associated with the URI scheme name for the specified URI using the specified options, and provides a specific User as context.

LaunchUriForUserAsync(User, Uri, LauncherOptions, ValueSet)

Starts the default multi-user 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.

LaunchUriForUserAsync(User, Uri)

Starts the default multi-user app associated with the URI scheme name for the specified URI and provides a specific User as context.

[Windows.Foundation.Metadata.Overload("LaunchUriForUserAsync")]
public static IAsyncOperation<LaunchUriStatus> LaunchUriForUserAsync(User user, System.Uri uri);

Parameters

user
User

The user context to pass to the launched app.

uri
Uri

The URI scheme.

Returns

The status of the launch attempt.

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

LaunchUriForUserAsync(User, Uri, LauncherOptions)

Starts the default multi-user app associated with the URI scheme name for the specified URI using the specified options, and provides a specific User as context.

[Windows.Foundation.Metadata.Overload("LaunchUriWithOptionsForUserAsync")]
public static IAsyncOperation<LaunchUriStatus> LaunchUriForUserAsync(User user, System.Uri uri, LauncherOptions options);

Parameters

user
User

The user context to pass to the launched app.

uri
Uri

The URI scheme.

options
LauncherOptions

The launch options for the app.

Returns

The status of the launch attempt.

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

LaunchUriForUserAsync(User, Uri, LauncherOptions, ValueSet)

Starts the default multi-user 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.

[Windows.Foundation.Metadata.Overload("LaunchUriWithDataForUserAsync")]
public static IAsyncOperation<LaunchUriStatus> LaunchUriForUserAsync(User user, System.Uri uri, LauncherOptions options, ValueSet inputData);

Parameters

user
User

The user context to pass to the launched app.

uri
Uri

The URI scheme.

options
LauncherOptions

The launch options for the app.

inputData
ValueSet

The input data for the app.

Returns

The status of the launch attempt.

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