3 writes to options
System.Management (3)
managementeventwatcher.cs (3)
230this.options = (EventWatcherOptions)options.Clone(); 232this.options = new EventWatcherOptions(); 361options = (EventWatcherOptions)value.Clone ();
18 references to options
System.Management (18)
managementeventwatcher.cs (18)
233this.options.IdentifierChanged += new IdentifierChangedEventHandler(HandleIdentifierChange); 253if (null != options) 254options.IdentifierChanged -= new IdentifierChangedEventHandler (HandleIdentifierChange); 354return options; 360EventWatcherOptions oldOptions = options; 367cachedObjects = new IWbemClassObjectFreeThreaded[options.BlockSize]; 369options.IdentifierChanged += new IdentifierChangedEventHandler(HandleIdentifierChange); 411options.Flags, 412options.GetContext (), 424IWbemClassObject_DoNotMarshal[] tempArray = new IWbemClassObject_DoNotMarshal[options.BlockSize]; 426int timeout = (ManagementOptions.InfiniteTimeout == options.Timeout) 428(int) options.Timeout.TotalMilliseconds; 430status = scope.GetSecuredIEnumWbemClassObjectHandler(enumWbem).Next_(timeout, (uint)options.BlockSize, tempArray, ref cachedCount); 514sink = new SinkForEventQuery(this, options.Context, wbemServices); 526options.GetContext(), 564FireStopped (new StoppedEventArgs (options.Context, (int)ManagementStatus.OperationCanceled)); 582if (null == options) 592cachedObjects = new IWbemClassObjectFreeThreaded[options.BlockSize];