Share via


AppActions.SetAsync Method

Definition

Overloads

SetAsync(AppAction[])

Sets the app actions that will be available for this app.

SetAsync(IEnumerable<AppAction>)

Sets the app actions that will be available for this app.

SetAsync(AppAction[])

Source:
AppActions.shared.cs
Source:
AppActions.shared.cs

Sets the app actions that will be available for this app.

public:
 static System::Threading::Tasks::Task ^ SetAsync(... cli::array <Microsoft::Maui::ApplicationModel::AppAction ^> ^ actions);
public static System.Threading.Tasks.Task SetAsync (params Microsoft.Maui.ApplicationModel.AppAction[] actions);
static member SetAsync : Microsoft.Maui.ApplicationModel.AppAction[] -> System.Threading.Tasks.Task
Public Shared Function SetAsync (ParamArray actions As AppAction()) As Task

Parameters

actions
AppAction[]

AppAction objects that will be set for this app.

Returns

A Task object with the current status of the asynchronous operation.

Applies to

SetAsync(IEnumerable<AppAction>)

Source:
AppActions.shared.cs
Source:
AppActions.shared.cs

Sets the app actions that will be available for this app.

public:
 static System::Threading::Tasks::Task ^ SetAsync(System::Collections::Generic::IEnumerable<Microsoft::Maui::ApplicationModel::AppAction ^> ^ actions);
public static System.Threading.Tasks.Task SetAsync (System.Collections.Generic.IEnumerable<Microsoft.Maui.ApplicationModel.AppAction> actions);
static member SetAsync : seq<Microsoft.Maui.ApplicationModel.AppAction> -> System.Threading.Tasks.Task
Public Shared Function SetAsync (actions As IEnumerable(Of AppAction)) As Task

Parameters

actions
IEnumerable<AppAction>

A collection of AppAction that is to be set for this app.

Returns

A Task object with the current status of the asynchronous operation.

Applies to