Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- MediaScriptCommandRoutedEventArgs.cs
- OdbcTransaction.cs
- ResourceCodeDomSerializer.cs
- StrongNameHelpers.cs
- WebZone.cs
- SystemFonts.cs
- SqlWebEventProvider.cs
- TagPrefixAttribute.cs
- Timeline.cs
- ValidationHelpers.cs
- DayRenderEvent.cs
- TableCell.cs
- ExpressionConverter.cs
- SmiXetterAccessMap.cs
- FlowDocumentPaginator.cs
- DataPagerFieldCommandEventArgs.cs
- XpsViewerException.cs
- PointCollection.cs
- CompositeActivityTypeDescriptor.cs
- COM2ComponentEditor.cs
- TableRow.cs
- WebPartDisplayModeCollection.cs
- ColumnMap.cs
- ExtendLockCommand.cs
- FactoryGenerator.cs
- RealProxy.cs
- PerfProviderCollection.cs
- XmlReader.cs
- TextServicesDisplayAttribute.cs
- DataKey.cs
- UnmanagedMemoryStreamWrapper.cs
- ComponentSerializationService.cs
- TransformedBitmap.cs
- ButtonColumn.cs
- QuadraticBezierSegment.cs
- EmbeddedMailObject.cs
- SchemaReference.cs
- IdnMapping.cs
- ImageField.cs
- AnnotationService.cs
- ColorContext.cs
- NavigateUrlConverter.cs
- PropertyEmitterBase.cs
- RoutedEvent.cs
- EventsTab.cs
- PartialCachingControl.cs
- UriParserTemplates.cs
- ServiceHttpModule.cs
- TemporaryBitmapFile.cs
- UnsafeNativeMethods.cs
- ResourceProviderFactory.cs
- SqlVisitor.cs
- XmlWrappingReader.cs
- UncommonField.cs
- LineServices.cs
- UriSchemeKeyedCollection.cs
- SourceFilter.cs
- DBCSCodePageEncoding.cs
- ImageSourceConverter.cs
- Attributes.cs
- InvalidCastException.cs
- OperationCanceledException.cs
- SafeNativeMemoryHandle.cs
- XmlILIndex.cs
- ImageDrawing.cs
- SqlTypeConverter.cs
- FlowNode.cs
- PriorityQueue.cs
- SessionStateItemCollection.cs
- SiteMapNode.cs
- DataReaderContainer.cs
- DoubleCollectionValueSerializer.cs
- DockPanel.cs
- WeakReferenceList.cs
- BindingList.cs
- Int64Storage.cs
- CurrentChangingEventArgs.cs
- NativeCompoundFileAPIs.cs
- OdbcStatementHandle.cs
- VectorAnimationUsingKeyFrames.cs
- FontFaceLayoutInfo.cs
- HtmlTernaryTree.cs
- SqlExpander.cs
- PrivilegedConfigurationManager.cs
- VirtualizedCellInfoCollection.cs
- HttpPostProtocolReflector.cs
- CircleHotSpot.cs
- SortExpressionBuilder.cs
- NavigatorInput.cs
- CellTreeNode.cs
- MemoryMappedFileSecurity.cs
- BindingExpression.cs
- ScrollBar.cs
- GetTokenRequest.cs
- WhitespaceRuleLookup.cs
- ComboBoxDesigner.cs
- InfoCardServiceInstallComponent.cs
- StreamMarshaler.cs
- HostExecutionContextManager.cs
- ServiceModelEnumValidatorAttribute.cs