19 instantiations of FeatureNotSupportedException
Microsoft.Maui.Essentials (19)
Accelerometer\Accelerometer.shared.cs (2)
222 throw new FeatureNotSupportedException(); 246 throw new FeatureNotSupportedException();
Barometer\Barometer.shared.cs (2)
201 throw new FeatureNotSupportedException(); 225 throw new FeatureNotSupportedException();
Compass\Compass.shared.cs (2)
268 throw new FeatureNotSupportedException(); 290 throw new FeatureNotSupportedException();
Email\Email.shared.cs (1)
58 throw new FeatureNotSupportedException();
Gyroscope\Gyroscope.shared.cs (2)
204 throw new FeatureNotSupportedException(); 225 throw new FeatureNotSupportedException();
Magnetometer\Magnetometer.shared.cs (2)
208 throw new FeatureNotSupportedException(); 229 throw new FeatureNotSupportedException();
OrientationSensor\OrientationSensor.shared.cs (2)
231 throw new FeatureNotSupportedException(); 256 throw new FeatureNotSupportedException();
PhoneDialer\PhoneDialer.shared.cs (1)
73 throw new FeatureNotSupportedException();
Screenshot\Screenshot.shared.cs (1)
151 throw new FeatureNotSupportedException();
Sms\Sms.shared.cs (1)
69 throw new FeatureNotSupportedException();
Vibration\Vibration.shared.cs (3)
102 throw new FeatureNotSupportedException(); 110 throw new FeatureNotSupportedException(); 123 throw new FeatureNotSupportedException();
24 references to FeatureNotSupportedException
Microsoft.Maui (1)
Hosting\EssentialsMauiAppBuilderExtensions.cs (1)
158 catch (FeatureNotSupportedException ex)
Microsoft.Maui.Essentials (23)
Accelerometer\Accelerometer.shared.cs (4)
37 /// Will throw <see cref="FeatureNotSupportedException"/> if <see cref="IsSupported"/> is <see langword="false"/>. 85 /// <remarks>Will throw <see cref="FeatureNotSupportedException"/> if not supported on device. Will throw <see cref="ArgumentNullException"/> if handler is null.</remarks> 217 /// <exception cref="FeatureNotSupportedException">Thrown if <see cref="IsSupported"/> returns <see langword="false"/>.</exception> 242 /// <exception cref="FeatureNotSupportedException">Thrown if <see cref="IsSupported"/> returns <see langword="false"/>.</exception>
Barometer\Barometer.shared.cs (3)
68 /// Will throw <see cref="FeatureNotSupportedException"/> if not supported on device. 196 /// <exception cref="FeatureNotSupportedException">Thrown if <see cref="IsSupported"/> returns <see langword="false"/>.</exception> 221 /// <exception cref="FeatureNotSupportedException">Thrown if <see cref="IsSupported"/> returns <see langword="false"/>.</exception>
Compass\Compass.shared.cs (2)
89 /// Will throw <see cref="FeatureNotSupportedException"/> if not supported on device. 100 /// Will throw <see cref="FeatureNotSupportedException"/> if not supported on device.
Geolocation\Geolocation.shared.cs (2)
56 /// <exception cref="FeatureNotSupportedException">Thrown if listening is not supported on this platform.</exception> 144 /// <exception cref="FeatureNotSupportedException">Thrown if listening is not supported on this platform.</exception>
Magnetometer\Magnetometer.shared.cs (1)
71 /// Will throw <see cref="FeatureNotSupportedException"/> if not supported on device.
OrientationSensor\OrientationSensor.shared.cs (2)
69 /// Will throw <see cref="FeatureNotSupportedException"/> if not supported on device. 224 /// Will throw <see cref="FeatureNotSupportedException"/> if not supported on device.
PhoneDialer\PhoneDialer.shared.cs (4)
21 /// Will throw <see cref="FeatureNotSupportedException"/> if making phone calls is not supported on the device. 24 /// <exception cref="FeatureNotSupportedException">Thrown if making phone calls is not supported on the device.</exception> 45 /// Will throw <see cref="FeatureNotSupportedException"/> if making phone calls is not supported on the device. 48 /// <exception cref="FeatureNotSupportedException">Thrown if making phone calls is not supported on the device.</exception>
Screenshot\Screenshot.shared.cs (1)
147 /// <exception cref="FeatureNotSupportedException">Thrown when <see cref="IsCaptureSupported"/> is <see langword="false"/>.</exception>
Types\Shared\Exceptions.shared.cs (3)
52 /// Initializes a new instance of the <see cref="FeatureNotSupportedException"/> class. 59 /// Initializes a new instance of the <see cref="FeatureNotSupportedException"/> class with the specified message. 68 /// Initializes a new instance of the <see cref="FeatureNotSupportedException"/> class with the specified message and inner exception.
WebAuthenticator\WebAuthenticator.shared.cs (1)
23 /// <exception cref="FeatureNotSupportedException">iOS/macOS: Thrown when iOS version is less than 13 is used or macOS less than 13.1 is used.</exception>