2 instantiations of PermissionException
Microsoft.Maui.Essentials (2)
Permissions\Permissions.shared.cs (2)
58
throw new
PermissionException
($"{typeof(TPermission).Name} permission was not granted: {status}");
67
throw new
PermissionException
($"{typeof(TPermission).Name} permission was not granted or restricted: {status}");
15 references to PermissionException
Microsoft.Maui.Essentials (15)
Connectivity\Connectivity.shared.cs (4)
42
/// <para>Can throw <see cref="
PermissionException
"/> on Android if <c>ACCESS_NETWORK_STATE</c> is not set in manifest.</para>
49
/// <remarks>Can throw <see cref="
PermissionException
"/> on Android if <c>ACCESS_NETWORK_STATE</c> is not set in manifest.</remarks>
55
/// <remarks>Can throw <see cref="
PermissionException
"/> on Android if <c>ACCESS_NETWORK_STATE</c> is not set in manifest.</remarks>
146
/// <para>Can throw <see cref="
PermissionException
"/> on Android if <c>ACCESS_NETWORK_STATE</c> is not set in manifest.</para>
Permissions\Permissions.shared.cs (10)
14
/// Will throw <see cref="
PermissionException
"/> if a required entry was not found in the application manifest.
17
/// <exception cref="
PermissionException
">Thrown if a required entry was not found in the application manifest.</exception>
28
/// Will throw <see cref="
PermissionException
"/> if a required entry was not found in the application manifest.
31
/// <exception cref="
PermissionException
">Thrown if a required entry was not found in the application manifest.</exception>
86
/// Will throw <see cref="
PermissionException
"/> if a required entry was not found in the application manifest.
89
/// <exception cref="
PermissionException
">Thrown if a required entry was not found in the application manifest.</exception>
97
/// Will throw <see cref="
PermissionException
"/> if a required entry was not found in the application manifest.
100
/// <exception cref="
PermissionException
">Thrown if a required entry was not found in the application manifest.</exception>
108
/// Will throw <see cref="
PermissionException
"/> if a required entry was not found in the application manifest.
111
/// <exception cref="
PermissionException
">Thrown if a required entry was not found in the application manifest.</exception>
Types\Shared\Exceptions.shared.cs (1)
37
/// Initializes a new instance of the <see cref="
PermissionException
"/> class with the specified message.