9 instantiations of ManagementException
System.Management (9)
Instrumentation\EventSource.cs (1)
351throw new ManagementException(RC.GetString("WORKER_THREAD_WAKEUP_FAILED"));
InteropClasses\WMIInterop.cs (1)
2018throw new ManagementException(RC.GetString("WORKER_THREAD_WAKEUP_FAILED"));
managementexception.cs (2)
614 throw new ManagementException(errorCode, msg, errObj); 637 throw new ManagementException(e, msg, errObj);
managementpath.cs (2)
420throw new ManagementException (ManagementStatus.InvalidOperation, null, null); 442throw new ManagementException (ManagementStatus.InvalidOperation, null, null);
qualifier.cs (1)
82 throw new ManagementException(ManagementStatus.Unexpected, null, null); //is this the best fit error ??
qualifierset.cs (2)
99 throw new ManagementException(ManagementStatus.Unexpected, null, null); // Is this the best fit error ?? 336 throw new ManagementException(ManagementStatus.Unexpected, null, null); // Is this the best fit error ??
137 references to ManagementException
System.Management (135)
Instrumentation\Attributes.cs (1)
70ManagementException.ThrowWithExtendedInfo(ManagementStatus.InvalidNamespace);
Instrumentation\EventSource.cs (2)
290ManagementException.ThrowWithExtendedInfo((ManagementStatus)hresult); 326ManagementException.ThrowWithExtendedInfo((ManagementStatus)hresult);
Instrumentation\SchemaMapping.cs (3)
72 catch(ManagementException e) 498 catch(ManagementException e) 567 catch(ManagementException e)
Instrumentation\SchemaRegistration.cs (6)
310catch(ManagementException e) 759catch(ManagementException e) 782catch(ManagementException e) 804 catch (ManagementException e) 827catch(ManagementException e) 864catch(ManagementException e)
managementbaseobject.cs (10)
337ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 458ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 513ManagementException.ThrowWithExtendedInfo(e); 630ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 657ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 701catch (ManagementException exc) 748catch (ManagementException) 803ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 829ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 851ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
managementclass.cs (13)
88 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 351 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 491 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 625 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 714 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 783 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 868 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 931 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 964 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1094 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1202 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1301 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1402 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
managementeventwatcher.cs (4)
440ManagementException.ThrowWithExtendedInfo(ManagementStatus.Timedout); 484ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 540ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 776ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
managementexception.cs (9)
651 if (e is ManagementException) 653 errorCode = ((ManagementException)e).ErrorCode; 658 errorObject = (ManagementBaseObject)((ManagementException)e).errorObject.Clone(); 671/// <para>Initializes a new instance of the <see cref='System.Management.ManagementException'/> class that is serializable.</para> 681 /// <para>Initializes a new instance of the <see cref='System.Management.ManagementException'/> class</para> 690 /// <para>Initializes a new instance of the <see cref='System.Management.ManagementException'/> 700 /// <para>Initializes a empty new instance of the <see cref='System.Management.ManagementException'/> class </para> 709 if (!(innerException is ManagementException)) 715/// serialize the <see cref='System.Management.ManagementException'/>
managementobject.cs (20)
710ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 807ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 943ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1079ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1209ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1313ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1435ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1527ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1690ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1832ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1948ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 2010ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 2083ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 2342ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 2420ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 2513ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 2547ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 2699ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 2788ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 2880ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
managementobjectcollection.cs (6)
320ManagementException.ThrowWithExtendedInfo (e); 326ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 576ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 585ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 636ManagementException.ThrowWithExtendedInfo (e); 645ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
managementobjectsearcher.cs (4)
374ManagementException.ThrowWithExtendedInfo(e); 383ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 469ManagementException.ThrowWithExtendedInfo (e); 478ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
managementpath.cs (15)
116ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 284ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 340ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 375ManagementException.ThrowWithExtendedInfo(e); 380ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 528ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 624ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 654ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 676ManagementException.ThrowWithExtendedInfo((ManagementStatus)tag_WBEMSTATUS.WBEM_E_INVALID_NAMESPACE); 777ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 827ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 948ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 975ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1004ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 1033ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
managementscope.cs (3)
662ManagementException.ThrowWithExtendedInfo((ManagementStatus)tag_WBEMSTATUS.WBEM_E_INVALID_NAMESPACE); 1158ManagementException.ThrowWithExtendedInfo (e); 1165ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
method.cs (3)
125ManagementException.ThrowWithExtendedInfo(e); 129ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 220ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
methodset.cs (8)
100ManagementException.ThrowWithExtendedInfo(e); 106ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 274ManagementException.ThrowWithExtendedInfo(e); 281ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 369ManagementException.ThrowWithExtendedInfo(e); 374ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 436ManagementException.ThrowWithExtendedInfo(e); 441ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
property.cs (3)
110 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 155 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 228 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
propertyset.cs (7)
88 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 158 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 264 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 382 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 425 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 467 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 505 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
qualifier.cs (6)
93 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 195 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 237 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 290 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 326 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 362 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
qualifierset.cs (8)
105 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 132catch(ManagementException e) 145 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 196catch(ManagementException e) 209 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 354ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 442 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status); 491 ManagementException.ThrowWithExtendedInfo((ManagementStatus)status);
WmiGenerator.cs (4)
617catch(ManagementException) 2707catch(ManagementException e) 5281catch(ManagementException) 6255catch(ManagementException)
WsatConfig (1)
Configuration\StdRegProviderWrapper.cs (1)
100catch (ManagementException e)
WsatUI (1)
Configuration\StdRegProviderWrapper.cs (1)
100catch (ManagementException e)