public int BeginMethodEnumeration_(int lEnumFlags) { if (this.pWbemClassObject == IntPtr.Zero) { throw new ObjectDisposedException(name); } int num = WmiNetUtilsHelper.BeginMethodEnumeration_f(0x16, this.pWbemClassObject, lEnumFlags); GC.KeepAlive(this); return(num); }
public int BeginMethodEnumeration_(int lEnumFlags) { if (this.pWbemClassObject != IntPtr.Zero) { int num = WmiNetUtilsHelper.BeginMethodEnumeration_f(22, this.pWbemClassObject, lEnumFlags); GC.KeepAlive(this); return(num); } else { throw new ObjectDisposedException(IWbemClassObjectFreeThreaded.name); } }