Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / IO / System / IO / WaitForChangedResult.cs / 1305376 / 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. /// ///
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WorkflowMarkupSerializationProvider.cs
- Span.cs
- Peer.cs
- MenuAdapter.cs
- Operators.cs
- SecurityKeyType.cs
- EntryPointNotFoundException.cs
- FormClosedEvent.cs
- UrlMapping.cs
- XsdValidatingReader.cs
- UIElementCollection.cs
- DataBindEngine.cs
- DataServiceException.cs
- DataGridViewBindingCompleteEventArgs.cs
- AccessKeyManager.cs
- ProgressBarRenderer.cs
- SspiWrapper.cs
- DynamicValidatorEventArgs.cs
- FormsAuthenticationCredentials.cs
- compensatingcollection.cs
- HandlerFactoryCache.cs
- InternalPolicyElement.cs
- TrackingServices.cs
- WebPartCatalogAddVerb.cs
- CalendarDesigner.cs
- baseaxisquery.cs
- TextTreeObjectNode.cs
- XmlNode.cs
- DbMetaDataCollectionNames.cs
- InternalsVisibleToAttribute.cs
- PageBuildProvider.cs
- CategoryNameCollection.cs
- PageBuildProvider.cs
- InheritanceContextChangedEventManager.cs
- ConstraintStruct.cs
- WmlLiteralTextAdapter.cs
- ConfigXmlElement.cs
- StringUtil.cs
- SiteMapProvider.cs
- ObjectManager.cs
- MapPathBasedVirtualPathProvider.cs
- XmlNamedNodeMap.cs
- AddInAttribute.cs
- RoleExceptions.cs
- AsyncResult.cs
- graph.cs
- TimeManager.cs
- InputElement.cs
- PropertyBuilder.cs
- EventPrivateKey.cs
- _AutoWebProxyScriptHelper.cs
- ActivityDesignerLayoutSerializers.cs
- DirectoryInfo.cs
- Size.cs
- _AutoWebProxyScriptEngine.cs
- Interfaces.cs
- validation.cs
- ComUdtElementCollection.cs
- WebPartManagerInternals.cs
- RecommendedAsConfigurableAttribute.cs
- XmlSignificantWhitespace.cs
- ClrPerspective.cs
- MatrixConverter.cs
- IdnElement.cs
- SiteMap.cs
- smtpconnection.cs
- XmlSchemaSimpleTypeRestriction.cs
- TextEffect.cs
- SystemIPGlobalStatistics.cs
- RC2.cs
- CreateUserErrorEventArgs.cs
- clipboard.cs
- SafeRegistryHandle.cs
- DataGridViewRow.cs
- SelectionProcessor.cs
- TableColumn.cs
- ConsoleCancelEventArgs.cs
- MarkupCompilePass1.cs
- EventlogProvider.cs
- MediaSystem.cs
- ToolboxService.cs
- _NTAuthentication.cs
- PasswordBoxAutomationPeer.cs
- MenuItemAutomationPeer.cs
- Adorner.cs
- EdmItemCollection.cs
- InvalidProgramException.cs
- EntityDataSourceDesigner.cs
- XamlUtilities.cs
- RectAnimationUsingKeyFrames.cs
- HtmlInputReset.cs
- ComponentConverter.cs
- DriveNotFoundException.cs
- FieldDescriptor.cs
- ValidationException.cs
- DataShape.cs
- CqlIdentifiers.cs
- AspNetSynchronizationContext.cs
- DBCSCodePageEncoding.cs
- LoginUtil.cs