Jaa


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.

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

Parameters

user
User

The user context to pass to the launched app.

uri
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.

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

Parameters

user
User

The user context to pass to the launched app.

uri
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.

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

Parameters

user
User

The user context to pass to the launched app.

uri
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