111 references to ThrowExceptionForHR
Microsoft.AspNetCore.Server.HttpSys (3)
_generated\10\Windows.Win32.HRESULT.g.cs (3)
65
/// <inheritdoc cref="Marshal.
ThrowExceptionForHR
(int, IntPtr)" />
73
/// <seealso cref="Marshal.
ThrowExceptionForHR
(int, IntPtr)"/>
77
Marshal.
ThrowExceptionForHR
(this.Value, errorInfo);
Microsoft.AspNetCore.Server.IIS (3)
_generated\8\Windows.Win32.HRESULT.g.cs (3)
65
/// <inheritdoc cref="Marshal.
ThrowExceptionForHR
(int, IntPtr)" />
73
/// <seealso cref="Marshal.
ThrowExceptionForHR
(int, IntPtr)"/>
77
Marshal.
ThrowExceptionForHR
(this.Value, errorInfo);
Microsoft.CodeAnalysis (1)
DiaSymReader\Utilities\InteropUtilities.cs (1)
30
Marshal.
ThrowExceptionForHR
(hr, s_ignoreIErrorInfo);
Microsoft.DiaSymReader (1)
Utilities\InteropUtilities.cs (1)
23
Marshal.
ThrowExceptionForHR
(hr, s_ignoreIErrorInfo);
Microsoft.Private.Windows.Core (3)
_generated\119\Windows.Win32.HRESULT.g.cs (3)
65
/// <inheritdoc cref="Marshal.
ThrowExceptionForHR
(int, IntPtr)" />
73
/// <seealso cref="Marshal.
ThrowExceptionForHR
(int, IntPtr)"/>
77
Marshal.
ThrowExceptionForHR
(this.Value, errorInfo);
PresentationCore (2)
MS\Internal\Text\TextInterface\DWriteUtil.cs (1)
39
System.Runtime.InteropServices.Marshal.
ThrowExceptionForHR
(hr, new System.IntPtr(-1));
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (1)
140
Marshal.
ThrowExceptionForHR
(hr, new IntPtr(-1));
System.Management (93)
System\Management\ManagementBaseObject.cs (7)
323
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
430
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
601
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
628
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
755
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
776
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
798
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementClass.cs (13)
91
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
356
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
489
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
619
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
705
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
771
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
849
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
905
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
932
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1061
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1164
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1258
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1350
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementEventWatcher.cs (4)
461
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
492
Marshal.
ThrowExceptionForHR
(sink.Status, WmiNetUtilsHelper.GetErrorInfo_f());
517
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
734
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementObject.cs (20)
700
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
796
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
930
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1066
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1195
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1298
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1418
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1510
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1665
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1807
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1921
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1983
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2054
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2311
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2387
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2480
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2508
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2660
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2748
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
2840
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementObjectCollection.cs (3)
317
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
562
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
631
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementObjectSearcher.cs (2)
387
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
481
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementPath.cs (13)
116
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
286
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
342
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
384
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
531
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
628
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
658
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
785
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
835
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
959
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
986
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1015
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1044
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementScope.cs (3)
1010
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1426
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
1452
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\Method.cs (2)
134
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
225
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\MethodSet.cs (4)
111
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
290
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
383
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
450
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\Property.cs (3)
111
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
158
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
238
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\PropertySet.cs (7)
91
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
165
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
271
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
391
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
434
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
476
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
514
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\Qualifier.cs (6)
87
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
188
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
231
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
287
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
325
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
363
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\QualifierSet.cs (6)
99
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
140
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
208
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
343
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
433
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
482
Marshal.
ThrowExceptionForHR
(status, WmiNetUtilsHelper.GetErrorInfo_f());
System.Private.Windows.Core (3)
_generated\120\Windows.Win32.HRESULT.g.cs (3)
65
/// <inheritdoc cref="Marshal.
ThrowExceptionForHR
(int, IntPtr)" />
73
/// <seealso cref="Marshal.
ThrowExceptionForHR
(int, IntPtr)"/>
77
Marshal.
ThrowExceptionForHR
(this.Value, errorInfo);
UIAutomationProvider (1)
MS\Internal\Automation\UiaCoreProviderApi.cs (1)
105
Marshal.
ThrowExceptionForHR
(hr, (IntPtr)(-1));
UIAutomationTypes (1)
MS\Internal\Automation\UiaCoreTypesApi.cs (1)
102
Marshal.
ThrowExceptionForHR
(hr, (IntPtr)(-1));