Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Services / IO / System / IO / WaitForChangedResult.cs / 1 / WaitForChangedResult.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.IO { using System.Diagnostics; using System; ////// public struct WaitForChangedResult { private WatcherChangeTypes changeType; private string name; private string oldName; private bool timedOut; ///Waits for a change in the specified path. ////// internal static readonly WaitForChangedResult TimedOutResult = new WaitForChangedResult(0, null, true); ////// Specifies that the call has timed out. /// ////// internal WaitForChangedResult(WatcherChangeTypes changeType, string name, bool timedOut) : this(changeType, name, null, timedOut){ } ////// Initializes a new instance of the ///class, given the /// type of change to watch for, the folder to watch, and whether the call has /// timed out. /// /// internal WaitForChangedResult(WatcherChangeTypes changeType, string name, string oldName, bool timedOut) { this.changeType = changeType; this.name = name; this.oldName = oldName; this.timedOut = timedOut; } ////// Initializes a new instance of the ///class. This constructor is called when you are waiting /// for a change in a file or directory name. /// /// public WatcherChangeTypes ChangeType { get { return changeType; } set { changeType = value; } } ////// Gets or sets the type of change to watch for. /// ////// public string Name { get { return name; } set { name = value; } } ////// Gets or sets the name of the file or subdirectory that has changed. /// ////// public string OldName { get { return oldName; } set { oldName = value; } } ////// Gets or sets the original name of the file or subdirectory that has been /// renamed. /// ////// public bool TimedOut { get { return timedOut; } set { timedOut = value; } } } }/// Gets or sets a value indicating whether the process has timed out. /// ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LineInfo.cs
- SafeCryptHandles.cs
- OneWayElement.cs
- ActiveXSite.cs
- PageEventArgs.cs
- ResourceSet.cs
- PageCodeDomTreeGenerator.cs
- X509Certificate.cs
- RegionInfo.cs
- GroupBox.cs
- ScrollEventArgs.cs
- LinqDataSourceContextEventArgs.cs
- Hash.cs
- ServerValidateEventArgs.cs
- InputBinding.cs
- Emitter.cs
- WebPartConnectionsCancelVerb.cs
- RotateTransform.cs
- HotSpotCollection.cs
- SkewTransform.cs
- SecurityTokenAuthenticator.cs
- Point3DAnimationUsingKeyFrames.cs
- DesignerActionList.cs
- TextEditorTyping.cs
- InfiniteIntConverter.cs
- ImageButton.cs
- DeviceSpecificChoiceCollection.cs
- AssemblyLoader.cs
- ConfigurationValue.cs
- Matrix.cs
- ContextMenu.cs
- GeometryGroup.cs
- PropertyInfoSet.cs
- MeshGeometry3D.cs
- TreeNodeCollection.cs
- BufferedGraphics.cs
- followingsibling.cs
- Parser.cs
- BooleanAnimationUsingKeyFrames.cs
- TabletDevice.cs
- EventSourceCreationData.cs
- MetadataSource.cs
- CodeArrayIndexerExpression.cs
- SafeSystemMetrics.cs
- ThreadPool.cs
- ApplicationFileCodeDomTreeGenerator.cs
- BuilderPropertyEntry.cs
- OrderedDictionary.cs
- TreeViewAutomationPeer.cs
- BaseAutoFormat.cs
- Command.cs
- StrokeCollection.cs
- StandardMenuStripVerb.cs
- SystemIPInterfaceProperties.cs
- CommandID.cs
- PerformanceCounterPermissionAttribute.cs
- ExpressionBindings.cs
- XPathBinder.cs
- ChtmlFormAdapter.cs
- Propagator.cs
- InputProcessorProfilesLoader.cs
- NativeMethodsOther.cs
- UnionCqlBlock.cs
- WindowsRegion.cs
- UInt64Converter.cs
- PTConverter.cs
- UrlMappingCollection.cs
- CharConverter.cs
- _SafeNetHandles.cs
- SQLBytesStorage.cs
- HttpModulesInstallComponent.cs
- BatchWriter.cs
- TemplatePagerField.cs
- TdsParserStaticMethods.cs
- CorePropertiesFilter.cs
- UnsafeNativeMethodsPenimc.cs
- SettingsBindableAttribute.cs
- XmlTextEncoder.cs
- ReachBasicContext.cs
- ElementHost.cs
- WorkflowFileItem.cs
- TypeKeyValue.cs
- IDataContractSurrogate.cs
- OAVariantLib.cs
- StorageMappingItemCollection.cs
- BulletedList.cs
- ArrayList.cs
- InputLanguageCollection.cs
- SqlDataSourceWizardForm.cs
- BindingGroup.cs
- XPathParser.cs
- DesignParameter.cs
- FilteredDataSetHelper.cs
- ConfigurationSchemaErrors.cs
- columnmapfactory.cs
- TableParaClient.cs
- EdmItemError.cs
- COSERVERINFO.cs
- ContainsRowNumberChecker.cs
- securitycriticaldataClass.cs