Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. //------------------------------------------------------------------------------ ///// Gets or sets a value indicating whether the process has timed out. /// ///// 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; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007./// 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
- SchemaAttDef.cs
- StylusPointDescription.cs
- ColorConvertedBitmap.cs
- PersonalizablePropertyEntry.cs
- BulletedListDesigner.cs
- ProcessProtocolHandler.cs
- TemplateParser.cs
- StaticResourceExtension.cs
- ItemList.cs
- ControlSerializer.cs
- BitmapEncoder.cs
- XmlNodeComparer.cs
- WebHeaderCollection.cs
- TextRangeAdaptor.cs
- PerformanceCounterPermission.cs
- XmlSchemaAnnotated.cs
- TableHeaderCell.cs
- QueryOutputWriterV1.cs
- LineSegment.cs
- TextEditorCharacters.cs
- SmiMetaDataProperty.cs
- CheckBox.cs
- SemanticAnalyzer.cs
- XmlTypeMapping.cs
- TextPenaltyModule.cs
- NetSectionGroup.cs
- ServiceObjectContainer.cs
- AdCreatedEventArgs.cs
- ContentPathSegment.cs
- LineServices.cs
- SqlConnection.cs
- SemanticKeyElement.cs
- DoubleAnimationUsingKeyFrames.cs
- PropertyChangedEventManager.cs
- CubicEase.cs
- Type.cs
- ProcessHostMapPath.cs
- ListViewItemMouseHoverEvent.cs
- FeedUtils.cs
- Win32Exception.cs
- IPHostEntry.cs
- Schedule.cs
- NameSpaceExtractor.cs
- OrderedDictionaryStateHelper.cs
- PrintPreviewControl.cs
- StreamReader.cs
- ThreadWorkerController.cs
- BatchParser.cs
- FastEncoderWindow.cs
- KeyToListMap.cs
- TextServicesCompartmentContext.cs
- DeclarativeCatalogPart.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- DiscoveryClientElement.cs
- TemplateParser.cs
- ButtonStandardAdapter.cs
- StatementContext.cs
- UiaCoreApi.cs
- DispatcherProcessingDisabled.cs
- Size3DConverter.cs
- DelegateSerializationHolder.cs
- WebPartMenuStyle.cs
- MergeLocalizationDirectives.cs
- DeclarationUpdate.cs
- AuthenticationConfig.cs
- ModelToObjectValueConverter.cs
- StateRuntime.cs
- Baml2006Reader.cs
- RMEnrollmentPage3.cs
- ExecutionScope.cs
- DataKey.cs
- HTMLTagNameToTypeMapper.cs
- UpDownEvent.cs
- ObjectCacheSettings.cs
- TokenizerHelper.cs
- RealizationContext.cs
- Encoding.cs
- elementinformation.cs
- Point3DAnimationUsingKeyFrames.cs
- SqlParameterCollection.cs
- ModelItemCollection.cs
- CompositeScriptReferenceEventArgs.cs
- DateTimeConverter.cs
- UndirectedGraph.cs
- WebPartDisplayModeCancelEventArgs.cs
- OrderedDictionary.cs
- DbCommandTree.cs
- SqlUtil.cs
- ExtenderProvidedPropertyAttribute.cs
- InlineUIContainer.cs
- DocumentEventArgs.cs
- DictionaryChange.cs
- RegisteredDisposeScript.cs
- EntityDataSourceViewSchema.cs
- DataSourceXmlClassAttribute.cs
- Stream.cs
- FixUp.cs
- ContextActivityUtils.cs
- QuaternionAnimation.cs
- ToolboxItem.cs