20 references to ThrowIfFail
System.ServiceModel (20)
System\ServiceModel\Administration\WbemProvider.cs (20)
231WbemException.ThrowIfFail(wbemSink.SetStatus( 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, 412WbemException.ThrowIfFail(wbemSink.SetStatus( 470WbemException.ThrowIfFail(wbemSink.SetStatus( 535WbemException.ThrowIfFail(wbemSink.SetStatus( 625WbemException.ThrowIfFail(wbemSink.SetStatus( 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)); 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,