Code:
/ DotNET / DotNET / 8.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
- FontEmbeddingManager.cs
- TreeBuilder.cs
- ISAPIWorkerRequest.cs
- ParamArrayAttribute.cs
- AxHostDesigner.cs
- SafeJobHandle.cs
- ExtractCollection.cs
- wgx_commands.cs
- EmptyStringExpandableObjectConverter.cs
- AttachedPropertyDescriptor.cs
- DocumentAutomationPeer.cs
- IsolatedStorageFileStream.cs
- ScrollViewerAutomationPeer.cs
- XmlChildEnumerator.cs
- TemplateXamlParser.cs
- CodeArgumentReferenceExpression.cs
- XslException.cs
- WMIInterop.cs
- ClientSettingsStore.cs
- SiteMapHierarchicalDataSourceView.cs
- AtomicFile.cs
- WorkflowExecutor.cs
- Native.cs
- DataRowExtensions.cs
- IChannel.cs
- WmlPageAdapter.cs
- ParentQuery.cs
- Color.cs
- TreeNode.cs
- WebPartManager.cs
- HtmlTextArea.cs
- XmlSchemaObjectTable.cs
- SQLString.cs
- PropertyInfoSet.cs
- ListBoxItemWrapperAutomationPeer.cs
- HtmlInputText.cs
- SqlTypeSystemProvider.cs
- CultureInfo.cs
- HandlerMappingMemo.cs
- _SslStream.cs
- ToolStripContentPanelRenderEventArgs.cs
- XmlNamespaceDeclarationsAttribute.cs
- StaticDataManager.cs
- ConnectionPoint.cs
- RtfControls.cs
- DependencyPropertyAttribute.cs
- recordstate.cs
- FollowerQueueCreator.cs
- OuterGlowBitmapEffect.cs
- SevenBitStream.cs
- StackOverflowException.cs
- DbConnectionPool.cs
- EncryptedPackage.cs
- UnhandledExceptionEventArgs.cs
- fixedPageContentExtractor.cs
- TextDecorationCollection.cs
- ToolStripDropDownClosedEventArgs.cs
- XmlSchemaCollection.cs
- CookieParameter.cs
- wmiutil.cs
- ResourcesChangeInfo.cs
- CriticalExceptions.cs
- TextElement.cs
- ListViewUpdatedEventArgs.cs
- TdsParserStateObject.cs
- TripleDESCryptoServiceProvider.cs
- UrlPath.cs
- _SingleItemRequestCache.cs
- CompoundFileReference.cs
- DetailsViewDeleteEventArgs.cs
- SourceCollection.cs
- ThaiBuddhistCalendar.cs
- SelectionProviderWrapper.cs
- DocumentCollection.cs
- newitemfactory.cs
- WebPartDesigner.cs
- ActionFrame.cs
- BackgroundWorker.cs
- GCHandleCookieTable.cs
- Int16KeyFrameCollection.cs
- ActivityBindForm.Designer.cs
- DBParameter.cs
- BitmapMetadataBlob.cs
- ListViewUpdatedEventArgs.cs
- ComboBoxRenderer.cs
- ContentFilePart.cs
- RowBinding.cs
- Decorator.cs
- xmlglyphRunInfo.cs
- ISO2022Encoding.cs
- DataGridViewDataConnection.cs
- SecurityCriticalDataForSet.cs
- OdbcConnectionHandle.cs
- TemplatePropertyEntry.cs
- LinqDataSourceDeleteEventArgs.cs
- ObjectContextServiceProvider.cs
- BindableAttribute.cs
- ResponseStream.cs
- ClassData.cs
- DataGrid.cs