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