AppActions.SetAsync Method
Definition
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.
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
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.