Permissions.BasePlatformPermission.RequestAsync 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.
Requests this permission from the user for this application.
public:
override System::Threading::Tasks::Task<Microsoft::Maui::ApplicationModel::PermissionStatus> ^ RequestAsync();
public override System.Threading.Tasks.Task<Microsoft.Maui.ApplicationModel.PermissionStatus> RequestAsync ();
override this.RequestAsync : unit -> System.Threading.Tasks.Task<Microsoft.Maui.ApplicationModel.PermissionStatus>
Public Overrides Function RequestAsync () As Task(Of PermissionStatus)
Returns
A PermissionStatus value indicating the result of this permission request.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.