次の方法で共有


StoreServicesFeedbackLauncher.LaunchAsync Method

Definition

Overloads

LaunchAsync()

Launches Feedback Hub and takes users to your app's area so they can submit and upvote feedback.

LaunchAsync(IMap<String,String>)

Launches Feedback Hub and takes users to your app's area so they can submit and upvote feedback. This overload passes a dictionary of metadata that you want to associate with the user feedback.

LaunchAsync()

Launches Feedback Hub and takes users to your app's area so they can submit and upvote feedback.

public:
 virtual IAsyncOperation<bool> ^ LaunchAsync() = LaunchAsync;
/// [Windows.Foundation.Metadata.Overload("LaunchAsync")]
IAsyncOperation<bool> LaunchAsync();
[Windows.Foundation.Metadata.Overload("LaunchAsync")]
public IAsyncOperation<bool> LaunchAsync();
function launchAsync()
Public Function LaunchAsync () As IAsyncOperation(Of Boolean)

Returns

Returns true if the Feedback Hub is installed on the device and the method successfully opened the Feedback Hub; otherwise, false.

Attributes

Remarks

Use the IsSupported property to determine whether Feedback Hub is installed on the device. If Feedback Hub is installed, you can use this method to launch Feedback Hub from your app. For a code example that demonstrates how to use this method, see Launch Feedback Hub from your app.

See also

Applies to

LaunchAsync(IMap<String,String>)

Launches Feedback Hub and takes users to your app's area so they can submit and upvote feedback. This overload passes a dictionary of metadata that you want to associate with the user feedback.

public:
 virtual IAsyncOperation<bool> ^ LaunchAsync(IMap<Platform::String ^, Platform::String ^> ^ inputData) = LaunchAsync;
/// [Windows.Foundation.Metadata.Overload("LaunchWithInputDataAsync")]
IAsyncOperation<bool> LaunchAsync(IMap<winrt::hstring, winrt::hstring const&> const& inputData);
[Windows.Foundation.Metadata.Overload("LaunchWithInputDataAsync")]
public IAsyncOperation<bool> LaunchAsync(IDictionary<string,string> inputData);
function launchAsync(inputData)
Public Function LaunchAsync (inputData As IDictionary(Of String, String)) As IAsyncOperation(Of Boolean)

Parameters

inputData

IMap<String,String>

IDictionary<String,String>

IMap<Platform::String,Platform::String>

IMap<winrt::hstring,winrt::hstring>

A dictionary of key and value pairs that contain metadata that you want to associate with the user feedback, such as the name of the page the user is on or the game level they completed. The following keys are reserved for use by Microsoft: feedbackid, src, form, screenshot, metadata, uri, foldername, searchstring, newfeedback, yes, and feedbackfiles.

Returns

Returns true if the Feedback Hub is installed on the device and the method successfully opened the Feedback Hub; otherwise, false.

Attributes

Remarks

Use the IsSupported() property to determine whether Feedback Hub is installed on the device. If Feedback Hub is installed, you can use this method to launch Feedback Hub from your app. For a code example that demonstrates how to use this method, see Launch Feedback Hub from your app.

See also

Applies to