17 references to NotSupportedException
PresentationCore (9)
src\Microsoft.DotNet.Wpf\src\Common\Graphics\wgx_render.cs (9)
825return new System.NotSupportedException(SR.Image_PropertyNotSupported, exceptionForHR); 834return new System.NotSupportedException(SR.Image_NoThumbnail, exceptionForHR); 850return new System.NotSupportedException(SR.Image_ComponentNotFound, exceptionForHR); 872return new System.NotSupportedException(SR.Image_UnsupportedPixelFormat, exceptionForHR); 875return new System.NotSupportedException(SR.Image_UnsupportedOperation, exceptionForHR); 905return new System.NotSupportedException(SR.Image_StreamNotAvailable, exceptionForHR); 926return new System.NotSupportedException(SR.Format(SR.Media_InsufficientVideoResources, null), exceptionForHR); 929return new System.NotSupportedException(SR.Format(SR.Media_HardwareVideoAccelerationNotAvailable, null), exceptionForHR); 932return new System.NotSupportedException(SR.Format(SR.Media_PlayerIsClosed, null), exceptionForHR);
PresentationFramework (3)
MS\Internal\AppModel\ReturnEventSaver.cs (1)
137throw new NotSupportedException(SR.ReturnEventHandlerMustBeOnParentPage, ex);
System\Windows\Documents\WinRTSpellerInterop.cs (2)
81throw new NotSupportedException(string.Empty, ex); 331throw 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.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)
1021throw new NotSupportedException(SR.NotSupported_ResourceObjectSerialization, fileNotFoundException);
System.Text.Json (2)
System\Text\Json\ThrowHelper.Serialization.cs (2)
562throw new NotSupportedException(message, ex); 588throw new NotSupportedException(message, ex);