8 types derived from ExternalException
mscorlib (2)
system\runtime\interopservices\comexception.cs (1)
28public class COMException : ExternalException {
system\runtime\interopservices\sehexception.cs (1)
24public class SEHException : ExternalException {
System (2)
compmod\system\componentmodel\design\CheckoutException.cs (1)
28public class CheckoutException : ExternalException {
compmod\system\componentmodel\Win32Exception.cs (1)
29public class Win32Exception : ExternalException, ISerializable {
System.Data (1)
fx\src\data\System\Data\Common\DbException.cs (1)
12public abstract class DbException : System.Runtime.InteropServices.ExternalException {
System.Messaging (1)
System\Messaging\MessageQueueException.cs (1)
29public class MessageQueueException : ExternalException, ISerializable
System.ServiceModel (1)
System\ServiceModel\MsmqException.cs (1)
15public class MsmqException : ExternalException
System.Web (1)
HttpException.cs (1)
35public class HttpException : ExternalException {
6 instantiations of ExternalException
PresentationCore (1)
Core\CSharp\System\Windows\Clipboard.cs (1)
457throw new ExternalException("OleIsCurrentClipboard()", hr);
System.Drawing (2)
commonui\System\Drawing\Advanced\GPStream.cs (1)
107throw new ExternalException(msg, SafeNativeMethods.E_FAIL);
commonui\System\Drawing\UnsafeNativeMethods.cs (1)
288throw new ExternalException(msg, SafeNativeMethods.E_FAIL);
System.Messaging (1)
System\Messaging\ActiveXMessageFormatter.cs (1)
492ExternalException e = new ExternalException(msg, NativeMethods.E_FAIL);
System.Windows.Forms (2)
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyDescriptor.cs (1)
1318throw new ExternalException(errorInfo, hr);
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (1)
6691ExternalException e = new ExternalException(msg, NativeMethods.E_FAIL);
46 references to ExternalException
PresentationFramework (9)
src\Framework\System\Windows\Controls\InkCanvas.cs (2)
1934catch (ExternalException) 2173catch (ExternalException)
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
279catch (System.Runtime.InteropServices.ExternalException)
src\Framework\System\windows\Documents\TextEditorCopyPaste.cs (5)
387catch (ExternalException) 456catch (ExternalException) 504catch (ExternalException) 737catch (ExternalException) 1051catch (ExternalException)
src\Framework\System\Windows\FrameworkCompatibilityPreferences.cs (1)
384/// a <see cref="System.Runtime.InteropServices.ExternalException"/>.
System (1)
compmod\system\codedom\compiler\Executor.cs (1)
325ExternalException ex = new ExternalException(SR.GetString(SR.ExecCantExec, cmd), win32Exception);
System.Activities.Presentation (3)
System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (3)
209catch (ExternalException e) 262catch (ExternalException e) 583catch (ExternalException e)
System.Data (3)
cdf\src\NetFx40\Tools\System.Activities.Presentation\System\Activities\Presentation\CutCopyPasteHelper.cs (3)
209catch (ExternalException e) 262catch (ExternalException e) 583catch (ExternalException e)
System.Data.SqlXml (1)
System\Xml\Xsl\Xslt\Scripts.cs (1)
315catch (ExternalException e) {
System.Drawing (4)
commonui\System\Drawing\Advanced\GPStream.cs (1)
106protected static ExternalException EFail(string msg) {
commonui\System\Drawing\Image.cs (1)
103catch (ExternalException e) {
commonui\System\Drawing\SystemFonts.cs (1)
240ex is ExternalException ||
commonui\System\Drawing\UnsafeNativeMethods.cs (1)
287protected static ExternalException EFail(string msg) {
System.Messaging (3)
System\Messaging\ActiveXMessageFormatter.cs (3)
490protected static ExternalException EFail(string msg) 492ExternalException e = new ExternalException(msg, NativeMethods.E_FAIL); 498ExternalException e = new ExternalException(Res.GetString(Res.NotImplemented), NativeMethods.E_NOTIMPL);
System.Web (4)
ErrorFormatter.cs (3)
1032if ((e is ExternalException) && ((ExternalException) e).ErrorCode != 0) 1033sb.Append(" (0x" + (((ExternalException)e).ErrorCode).ToString("x", CultureInfo.CurrentCulture) + ")");
StaticFileHandler.cs (1)
585catch (ExternalException e) {
System.Web.DataVisualization (1)
Common\General\Chart.cs (1)
336catch (ExternalException)
System.Windows.Forms (16)
winforms\Managed\System\WinForms\AxHost.cs (2)
2596catch (ExternalException e) { 7233catch(ExternalException ex) {
winforms\Managed\System\WinForms\Clipboard.cs (1)
604ExternalException e = new ExternalException(SR.GetString(SR.ClipboardOperationFailed), hr);
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2IPerPropertyBrowsingHandler.cs (1)
121catch(ExternalException ex){
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2PropertyBuilderUITypeEditor.cs (1)
80}catch(ExternalException ex) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\COM2TypeInfoProcessor.cs (3)
455catch (ExternalException ex) { 463catch (ExternalException ex) { 495catch (ExternalException ex) {
winforms\Managed\System\WinForms\ComponentModel\COM2Interop\ComNativeDescriptor.cs (1)
223catch (ExternalException ex){
winforms\Managed\System\WinForms\Control.cs (4)
15950catch(ExternalException ex) { 17382if (e is ExternalException) { 17383errorCode = ((ExternalException) e).ErrorCode; 18480ExternalException e = new ExternalException(SR.GetString(SR.ExternalException), hr);
winforms\Managed\System\WinForms\UnsafeNativeMethods.cs (3)
6690protected static ExternalException EFail(string msg) { 6691ExternalException e = new ExternalException(msg, NativeMethods.E_FAIL); 6696ExternalException e = new ExternalException(SR.GetString(SR.UnsafeNativeMethodsNotImplemented), NativeMethods.E_NOTIMPL);
System.Windows.Forms.DataVisualization (1)
Common\General\Chart.cs (1)
336catch (ExternalException)