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)
30Marshal.ThrowExceptionForHR(hr, s_ignoreIErrorInfo);
Microsoft.DiaSymReader (1)
Utilities\InteropUtilities.cs (1)
23Marshal.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)
39System.Runtime.InteropServices.Marshal.ThrowExceptionForHR(hr, new System.IntPtr(-1));
src\wpf\src\Microsoft.DotNet.Wpf\src\Shared\MS\Internal\SecurityHelper.cs (1)
140Marshal.ThrowExceptionForHR(hr, new IntPtr(-1));
System.Management (93)
System\Management\ManagementBaseObject.cs (7)
323Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 430Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 601Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 628Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 755Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 776Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 798Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementClass.cs (13)
91Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 356Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 489Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 619Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 705Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 771Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 849Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 905Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 932Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1061Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1164Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1258Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1350Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementEventWatcher.cs (4)
461Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 492Marshal.ThrowExceptionForHR(sink.Status, WmiNetUtilsHelper.GetErrorInfo_f()); 517Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 734Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementObject.cs (20)
700Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 796Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 930Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1066Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1195Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1298Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1418Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1510Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1665Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1807Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1921Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1983Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 2054Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 2311Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 2387Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 2480Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 2508Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 2660Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 2748Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 2840Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementObjectCollection.cs (3)
317Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 562Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 631Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementObjectSearcher.cs (2)
387Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 481Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementPath.cs (13)
116Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 286Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 342Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 384Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 531Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 628Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 658Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 785Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 835Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 959Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 986Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1015Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1044Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\ManagementScope.cs (3)
1010Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1426Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 1452Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\Method.cs (2)
134Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 225Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\MethodSet.cs (4)
111Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 290Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 383Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 450Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\Property.cs (3)
111Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 158Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 238Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\PropertySet.cs (7)
91Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 165Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 271Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 391Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 434Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 476Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 514Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\Qualifier.cs (6)
87Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 188Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 231Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 287Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 325Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 363Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f());
System\Management\QualifierSet.cs (6)
99Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 140Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 208Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 343Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 433Marshal.ThrowExceptionForHR(status, WmiNetUtilsHelper.GetErrorInfo_f()); 482Marshal.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)
105Marshal.ThrowExceptionForHR(hr, (IntPtr)(-1));
UIAutomationTypes (1)
MS\Internal\Automation\UiaCoreTypesApi.cs (1)
102Marshal.ThrowExceptionForHR(hr, (IntPtr)(-1));