Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- HtmlWindow.cs
- StylusLogic.cs
- Operator.cs
- RequestChannelBinder.cs
- DataGridViewElement.cs
- ObjectKeyFrameCollection.cs
- SaveFileDialog.cs
- UITypeEditor.cs
- TextEffectResolver.cs
- CodeTypeParameterCollection.cs
- GACIdentityPermission.cs
- XmlComplianceUtil.cs
- ReturnEventArgs.cs
- SectionRecord.cs
- Directory.cs
- ConstructorExpr.cs
- ToolboxItemCollection.cs
- AnnotationResourceChangedEventArgs.cs
- SchemaTableColumn.cs
- ConfigurationException.cs
- ErrorProvider.cs
- HierarchicalDataSourceControl.cs
- ListSurrogate.cs
- TableCell.cs
- TreeView.cs
- ServicesUtilities.cs
- DSASignatureDeformatter.cs
- HelpEvent.cs
- Int32KeyFrameCollection.cs
- Predicate.cs
- DataTableExtensions.cs
- Transactions.cs
- ConnectionProviderAttribute.cs
- IntSecurity.cs
- RuleProcessor.cs
- DocumentXPathNavigator.cs
- TextContainerChangedEventArgs.cs
- XamlStream.cs
- Shape.cs
- CFGGrammar.cs
- WebHttpSecurityElement.cs
- ToolBarTray.cs
- PropertyMapper.cs
- HtmlInputControl.cs
- NullableConverter.cs
- DefinitionProperties.cs
- MetadataItemCollectionFactory.cs
- PlanCompiler.cs
- ToolStripSeparatorRenderEventArgs.cs
- InheritanceContextChangedEventManager.cs
- FilteredReadOnlyMetadataCollection.cs
- EncodingNLS.cs
- Point3D.cs
- ValueTypeFixupInfo.cs
- ImageBrush.cs
- Processor.cs
- Evidence.cs
- IdentityNotMappedException.cs
- DeviceContexts.cs
- XmlDataSourceNodeDescriptor.cs
- ControlSerializer.cs
- DataObjectEventArgs.cs
- AppendHelper.cs
- NotCondition.cs
- HttpProcessUtility.cs
- ControlParameter.cs
- DeploymentSection.cs
- DeclaredTypeElementCollection.cs
- UnsafeNativeMethods.cs
- Behavior.cs
- Lasso.cs
- Context.cs
- MembershipValidatePasswordEventArgs.cs
- oledbmetadatacollectionnames.cs
- ModuleBuilder.cs
- BitmapEffect.cs
- WebPartTransformerAttribute.cs
- WpfWebRequestHelper.cs
- TreeViewDesigner.cs
- DataBindingHandlerAttribute.cs
- Converter.cs
- MulticastOption.cs
- ColorDialog.cs
- SafeUserTokenHandle.cs
- ValueTable.cs
- CertificateManager.cs
- RowCache.cs
- QueryCacheEntry.cs
- ListParaClient.cs
- ReachIDocumentPaginatorSerializerAsync.cs
- ProviderUtil.cs
- XmlIlVisitor.cs
- Model3DGroup.cs
- Rotation3DAnimationBase.cs
- OleDbRowUpdatedEvent.cs
- DebuggerService.cs
- httpstaticobjectscollection.cs
- TableLayoutStyleCollection.cs
- DataTableReader.cs
- Rotation3DAnimationUsingKeyFrames.cs