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
- SimpleWebHandlerParser.cs
- MobileContainerDesigner.cs
- VisualBrush.cs
- LocalFileSettingsProvider.cs
- EmptyCollection.cs
- RowCache.cs
- ClientBuildManagerCallback.cs
- BindingExpressionUncommonField.cs
- RemoteDebugger.cs
- TransportElement.cs
- CrossSiteScriptingValidation.cs
- XmlDictionary.cs
- HandledEventArgs.cs
- TreeNodeCollection.cs
- XmlQueryTypeFactory.cs
- RoleBoolean.cs
- ModelEditingScope.cs
- ActivityCodeDomReferenceService.cs
- ResourcePart.cs
- TextEditorTables.cs
- SecurityContext.cs
- FormViewPageEventArgs.cs
- FrameworkContentElement.cs
- DataList.cs
- OAVariantLib.cs
- MaterialCollection.cs
- ControlValuePropertyAttribute.cs
- clipboard.cs
- DataServiceQuery.cs
- RowVisual.cs
- IntellisenseTextBox.designer.cs
- HiddenField.cs
- EventPrivateKey.cs
- RegisteredExpandoAttribute.cs
- RouteItem.cs
- StylusCaptureWithinProperty.cs
- TraversalRequest.cs
- WinFormsSecurity.cs
- ScaleTransform.cs
- CacheMode.cs
- UpWmlPageAdapter.cs
- WebConfigurationManager.cs
- SafeTimerHandle.cs
- CustomValidator.cs
- CustomWebEventKey.cs
- ConnectorMovedEventArgs.cs
- CapabilitiesAssignment.cs
- MsmqIntegrationChannelListener.cs
- DescendentsWalker.cs
- OrthographicCamera.cs
- FormsAuthentication.cs
- Vector3DCollection.cs
- XmlCodeExporter.cs
- PointLight.cs
- XmlSchemaSimpleTypeRestriction.cs
- XpsFontSubsetter.cs
- XmlSchemaImporter.cs
- RequestStatusBarUpdateEventArgs.cs
- DataServiceEntityAttribute.cs
- ContainerUtilities.cs
- LoginName.cs
- CorePropertiesFilter.cs
- ParallelTimeline.cs
- DictionaryEntry.cs
- HttpListenerException.cs
- ObjectViewEntityCollectionData.cs
- HostVisual.cs
- Stylesheet.cs
- ListSortDescription.cs
- BufferedGraphics.cs
- DrawingVisualDrawingContext.cs
- HtmlElement.cs
- FieldAccessException.cs
- ProgressBar.cs
- SqlClientPermission.cs
- TextTreeTextNode.cs
- Math.cs
- Sentence.cs
- SoapAttributeOverrides.cs
- StylusPlugInCollection.cs
- StopStoryboard.cs
- RegexCode.cs
- DataListCommandEventArgs.cs
- SingleSelectRootGridEntry.cs
- RubberbandSelector.cs
- CompositeActivityCodeGenerator.cs
- ValueTypeFixupInfo.cs
- EtwTrace.cs
- DataGridViewComboBoxColumnDesigner.cs
- WindowHideOrCloseTracker.cs
- XmlValueConverter.cs
- Debug.cs
- HttpServerVarsCollection.cs
- PeerServiceMessageContracts.cs
- XPathAncestorQuery.cs
- VisualStates.cs
- DBConnection.cs
- Msmq4PoisonHandler.cs
- FieldNameLookup.cs
- SQLDateTimeStorage.cs