24 references to COMException
mscorlib (1)
system\oleautbinder.cs (1)
108
throw new
COMException
(Environment.GetResourceString("Interop.COM_TypeMismatch"), unchecked((int)0x80020005));
PresentationFramework (6)
src\Framework\MS\Internal\IO\Packaging\XamlFilter.cs (1)
269
throw new
COMException
(xmlException.Message, (int)FilterErrorCode.FILTER_E_UNKNOWNFORMAT);
src\Framework\MS\Internal\IO\Packaging\XpsFilter.cs (4)
440
throw new
COMException
(ex.Message, (int)FilterErrorCode.FILTER_E_ACCESS);
444
throw new
COMException
(ex.Message, (int)FilterErrorCode.FILTER_E_UNKNOWNFORMAT);
581
throw new
COMException
(ex.Message, (int)FilterErrorCode.FILTER_E_ACCESS);
585
throw new
COMException
(ex.Message, (int)FilterErrorCode.FILTER_E_UNKNOWNFORMAT);
src\Framework\System\Windows\Standard\ErrorCodes.cs (1)
486
e = new
COMException
(message, (int)_value);
System (1)
compmod\system\componentmodel\LicenseManager.cs (1)
412
throw new
COMException
(lexp.Message, CLASS_E_NOTLICENSED);
System.Data (3)
fx\src\data\System\Data\OleDb\DBPropSet.cs (1)
110
lastErrorFromProvider = new
COMException
(message, (int)lastErrorHr);
fx\src\data\System\Data\OleDb\OleDbDataAdapter.cs (2)
296
throw new
COMException
(message, (int)hr);
450
throw new
COMException
(message, (int)hr);
System.ServiceModel (4)
System\ServiceModel\ComIntegration\MonikerSyntaxException.cs (1)
17
internal MonikerSyntaxException (string message) :
base
(message, HR.MK_E_SYNTAX)
System\ServiceModel\ComIntegration\TearOffProxy.cs (2)
45
return new ReturnMessage(DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
COMException
(e.GetBaseException().Message, Marshal.GetHRForException(e.GetBaseException()))), msg);
61
return new ReturnMessage(DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
COMException
(returnMsg.Exception.GetBaseException().Message, Marshal.GetHRForException(returnMsg.Exception.GetBaseException()))), msg);
System\ServiceModel\ComIntegration\TransactionProxy.cs (1)
268
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new
COMException
(null, HR.CONTEXT_E_NOTRANSACTION));
System.Web.Mobile (8)
UI\MobileControls\Design\Util\MSHTMLHost.cs (8)
131
throw new
COMException
(String.Empty, NativeMethods.E_NOTIMPL);
180
throw new
COMException
(String.Empty, NativeMethods.E_NOTIMPL);
236
throw new
COMException
(String.Empty, NativeMethods.E_NOTIMPL);
240
throw new
COMException
(String.Empty, NativeMethods.E_NOTIMPL);
244
throw new
COMException
(String.Empty, NativeMethods.E_NOTIMPL);
254
throw new
COMException
(String.Empty, NativeMethods.E_NOTIMPL);
258
throw new
COMException
(String.Empty, NativeMethods.E_NOTIMPL);
262
throw new
COMException
(String.Empty, NativeMethods.E_NOTIMPL);
WindowsBase (1)
Base\MS\Internal\Interop\ErrorCodes.cs (1)
455
e = new
COMException
(message ?? e.Message, (int)_value);