4 types derived from WbemException
System.ServiceModel (4)
System\ServiceModel\Administration\WbemException.cs (4)
54internal class WbemInstanceNotFoundException : WbemException 62internal class WbemInvalidParameterException : WbemException 75internal class WbemNotSupportedException : WbemException 83internal class WbemInvalidMethodException : WbemException
1 instantiation of WbemException
System.ServiceModel (1)
System\ServiceModel\Administration\WbemException.cs (1)
41throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new WbemException(hr));
29 references to WbemException
System.ServiceModel (29)
System\ServiceModel\Administration\WbemProvider.cs (29)
140catch (WbemException e) 231WbemException.ThrowIfFail(wbemSink.SetStatus( 237catch (WbemException e) 343WbemException.ThrowIfFail(wbemObject.Get("__CLASS", 0, ref val, ref type, ref favor)); 355WbemException.ThrowIfFail(wbemSink.SetStatus((int)WbemNative.tag_WBEM_STATUS_TYPE.WBEM_STATUS_COMPLETE, 358catch (WbemException e) 412WbemException.ThrowIfFail(wbemSink.SetStatus( 416catch (WbemException e) 470WbemException.ThrowIfFail(wbemSink.SetStatus( 476catch (WbemException e) 535WbemException.ThrowIfFail(wbemSink.SetStatus( 539catch (WbemException e) 625WbemException.ThrowIfFail(wbemSink.SetStatus( 631catch (WbemException e) 675WbemException.ThrowIfFail(this.parms.WbemSink.Indicate(1, 726WbemException.ThrowIfFail(parms.WbemServices.GetObject(parms.ClassName, 0, parms.WbemContext, 730WbemException.ThrowIfFail(wbemObject.GetMethod(methodName, 0, IntPtr.Zero, out wbemMethod)); 731WbemException.ThrowIfFail(wbemMethod.SpawnInstance(0, out this.wbemOutParms)); 749WbemException.ThrowIfFail(this.wbemOutParms.Put("ReturnValue", 751WbemException.ThrowIfFail(this.parms.WbemSink.Indicate(1, 762WbemException.ThrowIfFail(this.wbemInParms.Get(name, 0, ref val, ref type, ref favor)); 768WbemException.ThrowIfFail(this.wbemOutParms.Put(name, 0, ref value, 0)); 797WbemException.Throw(WbemNative.WbemStatus.WBEM_E_INVALID_OBJECT_PATH); 827WbemException.Throw(WbemNative.WbemStatus.WBEM_E_INVALID_QUERY); 901WbemException.ThrowIfFail( 908WbemException.ThrowIfFail(tempObj.SpawnInstance(0, out this.wbemObject)); 990WbemException.ThrowIfFail(hResult); 1000WbemException.ThrowIfFail(this.wbemObject.Get(name, 0, ref val, ref type, ref favor)); 1006WbemException.ThrowIfFail(this.parms.WbemSink.Indicate(1,