ApplicationTrigger.RequestAsync Method

Definition

Overloads

RequestAsync()

This method attempts to set the trigger and start the registered background task.

RequestAsync(ValueSet)

This method attempts to set the trigger and start the registered background task with specified arguments.

RequestAsync()

This method attempts to set the trigger and start the registered background task.

public:
 virtual IAsyncOperation<ApplicationTriggerResult> ^ RequestAsync() = RequestAsync;
/// [Windows.Foundation.Metadata.Overload("RequestAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<ApplicationTriggerResult> RequestAsync();
[Windows.Foundation.Metadata.Overload("RequestAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<ApplicationTriggerResult> RequestAsync();
function requestAsync()
Public Function RequestAsync () As IAsyncOperation(Of ApplicationTriggerResult)

Returns

Returns an ApplicationTriggerResult enumeration that indicates whether the user provided the necessary consent for the operation or the system policies didn't reject the request to trigger a background task.

Attributes

See also

Applies to

RequestAsync(ValueSet)

This method attempts to set the trigger and start the registered background task with specified arguments.

public:
 virtual IAsyncOperation<ApplicationTriggerResult> ^ RequestAsync(ValueSet ^ arguments) = RequestAsync;
/// [Windows.Foundation.Metadata.Overload("RequestAsyncWithArguments")]
IAsyncOperation<ApplicationTriggerResult> RequestAsync(ValueSet const& arguments);
[Windows.Foundation.Metadata.Overload("RequestAsyncWithArguments")]
public IAsyncOperation<ApplicationTriggerResult> RequestAsync(ValueSet arguments);
function requestAsync(arguments)
Public Function RequestAsync (arguments As ValueSet) As IAsyncOperation(Of ApplicationTriggerResult)

Parameters

arguments
ValueSet

The serialized arguments that are passed to the background task.

Returns

Returns an ApplicationTriggerResult enumeration that indicates whether the user provided the necessary consent for the operation or the system policies didn't reject the request to trigger a background task.

Attributes

See also

Applies to