Launcher.LaunchUriForUserAsync Launcher.LaunchUriForUserAsync Launcher.LaunchUriForUserAsync Launcher.LaunchUriForUserAsync Launcher.LaunchUriForUserAsync Method

Definition

Overloads

LaunchUriForUserAsync(User, Uri) LaunchUriForUserAsync(User, Uri) LaunchUriForUserAsync(User, Uri) LaunchUriForUserAsync(User, Uri) 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) LaunchUriForUserAsync(User, Uri, LauncherOptions) LaunchUriForUserAsync(User, Uri, LauncherOptions) LaunchUriForUserAsync(User, Uri, LauncherOptions) 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) LaunchUriForUserAsync(User, Uri, LauncherOptions, ValueSet) LaunchUriForUserAsync(User, Uri, LauncherOptions, ValueSet) LaunchUriForUserAsync(User, Uri, LauncherOptions, ValueSet) 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) LaunchUriForUserAsync(User, Uri) LaunchUriForUserAsync(User, Uri) LaunchUriForUserAsync(User, Uri) 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.

public : static IAsyncOperation<LaunchUriStatus> LaunchUriForUserAsync(User user, Uri uri)
static IAsyncOperation<LaunchUriStatus> LaunchUriForUserAsync(User user, Uri uri) const;
public static IAsyncOperation<LaunchUriStatus> LaunchUriForUserAsync(User user, Uri uri)
Public Shared Function LaunchUriForUserAsync(user As User, uri As Uri) As IAsyncOperation(Of LaunchUriStatus)
Windows.System.Launcher.launchUriForUserAsync(user, uri).done( /* Your success and error handlers */ );

Parameters

user
User User User

The user context to pass to the launched app.

uri
Uri Uri Uri

The URI scheme.

Returns

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
See also

LaunchUriForUserAsync(User, Uri, LauncherOptions) LaunchUriForUserAsync(User, Uri, LauncherOptions) LaunchUriForUserAsync(User, Uri, LauncherOptions) LaunchUriForUserAsync(User, Uri, LauncherOptions) 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.

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

Parameters

user
User User User

The user context to pass to the launched app.

uri
Uri Uri Uri

The URI scheme.

options
LauncherOptions LauncherOptions LauncherOptions

The launch options for the app.

Returns

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
See also

LaunchUriForUserAsync(User, Uri, LauncherOptions, ValueSet) LaunchUriForUserAsync(User, Uri, LauncherOptions, ValueSet) LaunchUriForUserAsync(User, Uri, LauncherOptions, ValueSet) LaunchUriForUserAsync(User, Uri, LauncherOptions, ValueSet) 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.

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

Parameters

user
User User User

The user context to pass to the launched app.

uri
Uri Uri Uri

The URI scheme.

options
LauncherOptions LauncherOptions LauncherOptions

The launch options for the app.

inputData
ValueSet ValueSet ValueSet

The input data for the app.

Returns

Additional features and requirements

Device family
Windows 10 Anniversary Edition (introduced v10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v3)
See also