17 references to NotSupportedException
PresentationCore (9)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (9)
825
return new System.
NotSupportedException
(SR.Image_PropertyNotSupported, exceptionForHR);
834
return new System.
NotSupportedException
(SR.Image_NoThumbnail, exceptionForHR);
850
return new System.
NotSupportedException
(SR.Image_ComponentNotFound, exceptionForHR);
872
return new System.
NotSupportedException
(SR.Image_UnsupportedPixelFormat, exceptionForHR);
875
return new System.
NotSupportedException
(SR.Image_UnsupportedOperation, exceptionForHR);
905
return new System.
NotSupportedException
(SR.Image_StreamNotAvailable, exceptionForHR);
926
return new System.
NotSupportedException
(SR.Format(SR.Media_InsufficientVideoResources, null), exceptionForHR);
929
return new System.
NotSupportedException
(SR.Format(SR.Media_HardwareVideoAccelerationNotAvailable, null), exceptionForHR);
932
return new System.
NotSupportedException
(SR.Format(SR.Media_PlayerIsClosed, null), exceptionForHR);
PresentationFramework (3)
MS\Internal\AppModel\ReturnEventSaver.cs (1)
137
throw new
NotSupportedException
(SR.ReturnEventHandlerMustBeOnParentPage, ex);
System\Windows\Documents\WinRTSpellerInterop.cs (2)
81
throw new
NotSupportedException
(string.Empty, ex);
331
throw new
NotSupportedException
(string.Empty, ex);
System.ComponentModel.Composition (1)
System\ComponentModel\Composition\MetadataViewProvider.cs (1)
41
throw new
NotSupportedException
(SR.Format(SR.NotSupportedInterfaceMetadataView, metadataViewType.FullName), ex);
System.Private.CoreLib (2)
src\libraries\System.Private.CoreLib\src\System\PlatformNotSupportedException.cs (1)
30
:
base
(message ?? SR.Arg_PlatformNotSupported, inner)
src\libraries\System.Private.CoreLib\src\System\Resources\ResourceReader.cs (1)
1021
throw new
NotSupportedException
(SR.NotSupported_ResourceObjectSerialization, fileNotFoundException);
System.Text.Json (2)
System\Text\Json\ThrowHelper.Serialization.cs (2)
562
throw new
NotSupportedException
(message, ex);
588
throw new
NotSupportedException
(message, ex);