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
- FontUnitConverter.cs
- TypeConverterHelper.cs
- IERequestCache.cs
- Assert.cs
- IconEditor.cs
- WindowPattern.cs
- ListSortDescription.cs
- TypeConverterHelper.cs
- __ConsoleStream.cs
- SessionIDManager.cs
- TextBox.cs
- TextTreeObjectNode.cs
- XpsColorContext.cs
- Rules.cs
- MonthChangedEventArgs.cs
- IdentityNotMappedException.cs
- TypeDependencyAttribute.cs
- CheckBox.cs
- _RequestCacheProtocol.cs
- TreeView.cs
- SystemMulticastIPAddressInformation.cs
- XmlDeclaration.cs
- DependencyObject.cs
- ConfigXmlComment.cs
- GetCryptoTransformRequest.cs
- ThreadBehavior.cs
- TextDecoration.cs
- ContentPropertyAttribute.cs
- AuthenticatedStream.cs
- VectorAnimationBase.cs
- PeerCollaboration.cs
- SettingsContext.cs
- TransformedBitmap.cs
- IPAddress.cs
- MemoryMappedViewAccessor.cs
- XamlStyleSerializer.cs
- ElementsClipboardData.cs
- ScriptingRoleServiceSection.cs
- log.cs
- ZipIOModeEnforcingStream.cs
- Predicate.cs
- DocumentGrid.cs
- DataShape.cs
- ITextView.cs
- XslCompiledTransform.cs
- DataDocumentXPathNavigator.cs
- Page.cs
- TextEditor.cs
- ContextCorrelationInitializer.cs
- ViewBase.cs
- TreeViewAutomationPeer.cs
- WebSysDefaultValueAttribute.cs
- BindableAttribute.cs
- Win32.cs
- _ConnectionGroup.cs
- UpdatePanelTrigger.cs
- Dynamic.cs
- SQLDateTime.cs
- FillRuleValidation.cs
- Currency.cs
- CollectionViewProxy.cs
- _Connection.cs
- NativeMethods.cs
- EntityDescriptor.cs
- NotImplementedException.cs
- SqlStatistics.cs
- WsdlInspector.cs
- ConfigXmlReader.cs
- DrawToolTipEventArgs.cs
- SystemColorTracker.cs
- ResourceCategoryAttribute.cs
- CheckBox.cs
- SizeChangedInfo.cs
- BinaryNode.cs
- WebConfigurationHostFileChange.cs
- PreviewKeyDownEventArgs.cs
- TreeIterator.cs
- BStrWrapper.cs
- AmbientProperties.cs
- ActionFrame.cs
- PathFigureCollection.cs
- SimpleFileLog.cs
- CompilerResults.cs
- ObjectListGeneralPage.cs
- COAUTHINFO.cs
- CharUnicodeInfo.cs
- BlockUIContainer.cs
- PersonalizationEntry.cs
- SourceFileBuildProvider.cs
- GridViewColumnCollection.cs
- Transactions.cs
- Int64AnimationUsingKeyFrames.cs
- SqlDataReaderSmi.cs
- SoapBinding.cs
- GetWinFXPath.cs
- CodeSnippetExpression.cs
- HandledMouseEvent.cs
- PathNode.cs
- TrackPointCollection.cs
- UnorderedHashRepartitionStream.cs