3 writes to options
System.Management (3)
System\Management\ManagementEventWatcher.cs (3)
229this.options = (EventWatcherOptions)options.Clone(); 231this.options = new EventWatcherOptions(); 360options = (EventWatcherOptions)value.Clone();
18 references to options
System.Management (18)
System\Management\ManagementEventWatcher.cs (18)
232this.options.IdentifierChanged += new IdentifierChangedEventHandler(HandleIdentifierChange); 252if (null != options) 253options.IdentifierChanged -= new IdentifierChangedEventHandler(HandleIdentifierChange); 353return options; 359EventWatcherOptions oldOptions = options; 366cachedObjects = new IWbemClassObjectFreeThreaded[options.BlockSize]; 368options.IdentifierChanged += new IdentifierChangedEventHandler(HandleIdentifierChange); 410options.Flags, 411options.GetContext(), 422IWbemClassObject_DoNotMarshal[] tempArray = new IWbemClassObject_DoNotMarshal[options.BlockSize]; 424int timeout = (ManagementOptions.InfiniteTimeout == options.Timeout) 426(int)options.Timeout.TotalMilliseconds; 428status = scope.GetSecuredIEnumWbemClassObjectHandler(enumWbem).Next_(timeout, (uint)options.BlockSize, tempArray, ref cachedCount); 489sink = new SinkForEventQuery(this, options.Context, wbemServices); 501options.GetContext(), 539FireStopped(new StoppedEventArgs(options.Context, (int)ManagementStatus.OperationCanceled)); 557if (null == options) 567cachedObjects = new IWbemClassObjectFreeThreaded[options.BlockSize];