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