Launcher.LaunchUriForUserAsync Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |
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.
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
- LaunchUriForUserAsync(User, Uri, LauncherOptions)
- LaunchUriForUserAsync(User, Uri, LauncherOptions, ValueSet)
Applies to
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.
- 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
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.
- 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)
|