29 references to COMException
Microsoft.Build.Framework (1)
VisualStudioLocationHelper.cs (1)
102throw new COMException("Failed to get query", result);
PresentationFramework (27)
MS\Internal\IO\Packaging\CorePropertiesFilter.cs (2)
129throw new COMException(SR.FilterGetTextNotSupported, 143throw new COMException(SR.FilterGetValueAlreadyCalledOnCurrentChunk,
MS\Internal\IO\Packaging\EncryptedPackageFilter.cs (1)
82throw new COMException(SR.FilterGetTextNotSupported,
MS\Internal\IO\Packaging\indexingfiltermarshaler.cs (1)
273throw new COMException(SR.FilterEndOfChunks,
MS\Internal\IO\Packaging\PackageFilter.cs (4)
120throw new COMException(SR.FilterEndOfChunks, 213throw new COMException(SR.FilterEndOfChunks, 226throw new COMException(SR.FilterGetTextNotSupported, 241throw new COMException(SR.FilterGetValueNotSupported,
MS\Internal\IO\Packaging\XamlFilter.cs (2)
219throw new COMException(SR.FilterGetChunkNoStream, (int)FilterErrorCode.FILTER_E_ACCESS); 242throw new COMException(xmlException.Message, (int)FilterErrorCode.FILTER_E_UNKNOWNFORMAT);
MS\Internal\IO\Packaging\XpsFilter.cs (11)
54throw new COMException(SR.FileToFilterNotLoaded, 61throw new COMException(SR.FilterInitInvalidAttributes, 76throw new COMException(SR.FileToFilterNotLoaded, 104throw new COMException(SR.FileToFilterNotLoaded, 151throw new COMException(SR.AuxiliaryFilterReturnedAnomalousCountOfCharacters, 190throw new COMException(SR.AuxiliaryFilterReturnedAnomalousCountOfCharacters, 275throw new COMException(SR.FileToFilterNotLoaded, 423throw new COMException(ex.Message, (int)FilterErrorCode.FILTER_E_ACCESS); 427throw new COMException(ex.Message, (int)FilterErrorCode.FILTER_E_UNKNOWNFORMAT); 552throw new COMException(ex.Message, (int)FilterErrorCode.FILTER_E_ACCESS); 556throw new COMException(ex.Message, (int)FilterErrorCode.FILTER_E_UNKNOWNFORMAT);
System\Windows\Documents\TextStore.cs (5)
78throw new COMException(SR.TextStore_CONNECT_E_CANNOTCONNECT, unchecked((int)0x80040202)); 84throw new COMException(SR.TextStore_E_NOINTERFACE, unchecked((int)0x80004002)); 106throw new COMException(SR.TextStore_CONNECT_E_NOCONNECTION, unchecked((int)0x80040200)); 545throw new COMException(SR.TextStore_E_NOTIMPL, unchecked((int)0x80004001)); 883throw new COMException(SR.TextStore_E_NOTIMPL, unchecked((int)0x80004001));
System\Windows\Standard\ErrorCodes.cs (1)
433e = new COMException(message, (int)_value);
System.Windows.Forms (1)
System\Windows\Forms\ActiveX\AxHost.cs (1)
36private static readonly COMException s_invalidArgumentException = new(SR.AXInvalidArgument, unchecked((int)0x80070057));