5 types derived from ExternalException
System.ComponentModel.TypeConverter (1)
System\ComponentModel\Design\CheckoutException.cs (1)
17public class CheckoutException : ExternalException
System.Data.Common (1)
System\Data\Common\DbException.cs (1)
10public abstract class DbException : System.Runtime.InteropServices.ExternalException
System.Private.CoreLib (3)
src\runtime\src\libraries\System.Private.CoreLib\src\System\ComponentModel\Win32Exception.cs (1)
18public class Win32Exception : ExternalException
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\COMException.cs (1)
18public class COMException : ExternalException
src\runtime\src\libraries\System.Private.CoreLib\src\System\Runtime\InteropServices\SEHException.cs (1)
15public class SEHException : ExternalException
36 instantiations of ExternalException
Microsoft.Private.Windows.Core (10)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
155throw new ExternalException(SR.ExternalException, (int)HRESULT.E_OUTOFMEMORY);
System\Private\Windows\Ole\Composition.NativeToRuntimeAdapter.cs (1)
59throw new ExternalException(SR.ExternalException, (int)HRESULT.E_NOTIMPL);
Windows\Win32\Graphics\GdiPlus\StatusExtensions.cs (8)
24return new ExternalException(SR.GdiplusGenericError, (int)HRESULT.E_FAIL); 35return new ExternalException(SR.GdiplusInvalidOperation, (int)HRESULT.E_UNEXPECTED); 43return new ExternalException(SR.GdiplusGenericError, (int)HRESULT.E_FAIL); 47return new ExternalException(SR.GdiplusAborted, (int)HRESULT.E_ABORT); 53return new ExternalException(SR.GdiplusAccessDenied, (int)HRESULT.E_ACCESSDENIED); 74return new ExternalException(SR.GdiplusUnsupportedGdiplusVersion, (int)HRESULT.E_FAIL); 77return new ExternalException(SR.GdiplusNotInitialized, (int)HRESULT.E_FAIL); 80return new ExternalException($"{SR.GdiplusUnknown} [{status}]", (int)HRESULT.E_UNEXPECTED);
Microsoft.Win32.SystemEvents (3)
Microsoft\Win32\SystemEvents.cs (3)
397throw new ExternalException(SR.ErrorCreateTimer); 498throw new ExternalException(SR.ErrorCreateSystemEvents); 798throw new ExternalException(SR.ErrorKillTimer);
System.CodeDom (1)
System\CodeDom\Compiler\Executor.cs (1)
90throw new ExternalException(SR.Format(SR.ExecTimeout, cmd), WAIT_TIMEOUT);
System.Private.CoreLib (1)
src\runtime\src\libraries\System.Private.CoreLib\src\System\Globalization\CompareInfo.Icu.cs (1)
992throw new ExternalException(SR.Arg_ExternalException);
System.Private.Windows.Core (10)
System\Private\Windows\Ole\Composition.NativeToManagedAdapter.cs (1)
155throw new ExternalException(SR.ExternalException, (int)HRESULT.E_OUTOFMEMORY);
System\Private\Windows\Ole\Composition.NativeToRuntimeAdapter.cs (1)
59throw new ExternalException(SR.ExternalException, (int)HRESULT.E_NOTIMPL);
Windows\Win32\Graphics\GdiPlus\StatusExtensions.cs (8)
24return new ExternalException(SR.GdiplusGenericError, (int)HRESULT.E_FAIL); 35return new ExternalException(SR.GdiplusInvalidOperation, (int)HRESULT.E_UNEXPECTED); 43return new ExternalException(SR.GdiplusGenericError, (int)HRESULT.E_FAIL); 47return new ExternalException(SR.GdiplusAborted, (int)HRESULT.E_ABORT); 53return new ExternalException(SR.GdiplusAccessDenied, (int)HRESULT.E_ACCESSDENIED); 74return new ExternalException(SR.GdiplusUnsupportedGdiplusVersion, (int)HRESULT.E_FAIL); 77return new ExternalException(SR.GdiplusNotInitialized, (int)HRESULT.E_FAIL); 80return new ExternalException($"{SR.GdiplusUnknown} [{status}]", (int)HRESULT.E_UNEXPECTED);
System.Windows.Forms (11)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1837internal static void ThrowHr(HRESULT hr) => throw new ExternalException(SR.ExternalException, (int)hr);
System\Windows\Forms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
914throw new ExternalException(errorText, (int)setError);
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (6)
289throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetTypeAttrFailed, hr), (int)hr); 354throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetRefTypeInfoFailed, hr), (int)hr); 368throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetTypeAttrFailed, hr), (int)hr); 602throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetTypeAttrFailed, hr), (int)hr); 699throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetTypeAttrFailed, hr), (int)hr); 828throw new ExternalException(string.Format(SR.TYPEINFOPROCESSORGetTypeAttrFailed, hr), (int)hr);
System\Windows\Forms\OLE\Clipboard.cs (3)
51throw new ExternalException(SR.ClipboardOperationFailed, (int)result); 64throw new ExternalException(SR.ClipboardOperationFailed, (int)result); 78throw new ExternalException(SR.ClipboardOperationFailed, (int)result);
17 references to ExternalException
mscorlib (1)
parent\ref\mscorlib.cs (1)
689[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.InteropServices.ExternalException))]
netstandard (1)
netstandard.cs (1)
1694[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.InteropServices.ExternalException))]
PresentationFramework (9)
System\Windows\Controls\DataGrid.cs (1)
8282catch (ExternalException)
System\Windows\Controls\InkCanvas.cs (2)
1857catch (ExternalException) 2075catch (ExternalException)
System\Windows\Documents\RubberbandSelector.cs (1)
173catch (System.Runtime.InteropServices.ExternalException)
System\windows\Documents\TextEditorCopyPaste.cs (5)
291catch (ExternalException) 337catch (ExternalException) 375catch (ExternalException) 588catch (ExternalException) 863catch (ExternalException)
System.Runtime (1)
src\runtime\artifacts\obj\System.Runtime\Release\net12.0\System.Runtime.Forwards.cs (1)
685[assembly: System.Runtime.CompilerServices.TypeForwardedTo(typeof(System.Runtime.InteropServices.ExternalException))]
System.Windows.Forms (5)
System\Windows\Forms\ActiveX\AxHost.cs (1)
2306catch (ExternalException e)
System\Windows\Forms\ActiveX\Control.ActiveXImpl.cs (1)
1086errorCode = e is ExternalException ee ? (HRESULT)ee.ErrorCode : HRESULT.E_FAIL;
System\Windows\Forms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (2)
414catch (ExternalException ex) 424catch (ExternalException ex)
System\Windows\Forms\Layout\Containers\SplitContainer.cs (1)
1567catch (ExternalException ex)