26 references to NotSupportedException
Microsoft.Maui.Essentials (1)
Types\Shared\Exceptions.shared.cs (1)
73 : base(message, innerException)
PresentationCore (9)
src\wpf\src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (9)
816return new System.NotSupportedException(SR.Image_PropertyNotSupported, exceptionForHR); 825return new System.NotSupportedException(SR.Image_NoThumbnail, exceptionForHR); 841return new System.NotSupportedException(SR.Image_ComponentNotFound, exceptionForHR); 863return new System.NotSupportedException(SR.Image_UnsupportedPixelFormat, exceptionForHR); 866return new System.NotSupportedException(SR.Image_UnsupportedOperation, exceptionForHR); 896return new System.NotSupportedException(SR.Image_StreamNotAvailable, exceptionForHR); 917return new System.NotSupportedException(SR.Format(SR.Media_InsufficientVideoResources, null), exceptionForHR); 920return new System.NotSupportedException(SR.Format(SR.Media_HardwareVideoAccelerationNotAvailable, null), exceptionForHR); 923return new System.NotSupportedException(SR.Format(SR.Media_PlayerIsClosed, null), exceptionForHR);
PresentationFramework (3)
MS\Internal\AppModel\ReturnEventSaver.cs (1)
131throw new NotSupportedException(SR.ReturnEventHandlerMustBeOnParentPage, ex);
System\Windows\Documents\WinRTSpellerInterop.cs (2)
72throw new NotSupportedException(string.Empty, ex); 322throw new NotSupportedException(string.Empty, ex);
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\MetadataViewProvider.cs (1)
41throw new NotSupportedException(SR.Format(SR.NotSupportedInterfaceMetadataView, metadataViewType.FullName), ex);
System.DirectoryServices.AccountManagement (2)
System\DirectoryServices\AccountManagement\AuthZSet.cs (2)
200throw new NotSupportedException(SR.AuthZNotSupported, e); 203throw new NotSupportedException(SR.AuthZNotSupported, e);
System.Private.CoreLib (2)
src\runtime\src\libraries\System.Private.CoreLib\src\System\PlatformNotSupportedException.cs (1)
30: base(message ?? SR.Arg_PlatformNotSupported, inner)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1015throw new NotSupportedException(SR.NotSupported_ResourceObjectSerialization, fileNotFoundException);
System.ServiceModel.Primitives (2)
System\IdentityModel\Tokens\X509AsymmetricSecurityKey.cs (2)
258throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.AlgorithmAndPublicKeyMisMatch, e)); 333throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new NotSupportedException(SRP.AlgorithmAndPrivateKeyMisMatch, e));
System.Speech (1)
Recognition\RecognizerBase.cs (1)
1617throw new NotSupportedException(SR.Get(SRID.SapiErrorTooManyGrammars), e);
System.Text.Json (2)
System\Text\Json\ThrowHelper.Serialization.cs (2)
655throw new NotSupportedException(message, innerException); 681throw new NotSupportedException(message, innerException);
System.Windows.Forms (3)
System\Resources\ResXDataNode.cs (1)
377throw new NotSupportedException(newMessage, xml);
System\Windows\Forms\DataBinding\BindingSource.cs (1)
552throw new NotSupportedException(SR.BindingSourceInstanceError, instanceException);
System\Windows\Forms\DataBinding\ListBindingHelper.cs (1)
267throw new NotSupportedException(SR.BindingSourceInstanceError, instanceException);