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
- ResourceDescriptionAttribute.cs
- ShaderRenderModeValidation.cs
- ToggleButtonAutomationPeer.cs
- ServiceObjectContainer.cs
- complextypematerializer.cs
- Connector.cs
- RelatedCurrencyManager.cs
- OleDbConnectionFactory.cs
- DataListItemCollection.cs
- InputGestureCollection.cs
- DataGridViewSelectedCellsAccessibleObject.cs
- EtwTrace.cs
- WebPartHelpVerb.cs
- ServicePoint.cs
- VisualTarget.cs
- SafeLibraryHandle.cs
- LinkDesigner.cs
- SafeArrayRankMismatchException.cs
- ListItemViewAttribute.cs
- CodeTypeParameter.cs
- ConfigurationStrings.cs
- SqlDependencyListener.cs
- Geometry.cs
- SettingsSavedEventArgs.cs
- AbsoluteQuery.cs
- RecognizerStateChangedEventArgs.cs
- ZoneLinkButton.cs
- DataGridViewButtonColumn.cs
- IODescriptionAttribute.cs
- LinearGradientBrush.cs
- StringSorter.cs
- RTTypeWrapper.cs
- TypeReference.cs
- XmlSchemaObjectCollection.cs
- ToolTip.cs
- ToolBar.cs
- RegexCaptureCollection.cs
- HttpUnhandledOperationInvoker.cs
- EventDescriptorCollection.cs
- ToolBar.cs
- StructuredTypeEmitter.cs
- ProviderBase.cs
- UriScheme.cs
- SqlBulkCopyColumnMappingCollection.cs
- TypeLoadException.cs
- WindowsListViewItem.cs
- SafeSerializationManager.cs
- TextFormatter.cs
- ResXResourceSet.cs
- TTSEvent.cs
- DynamicILGenerator.cs
- TextEmbeddedObject.cs
- XmlIncludeAttribute.cs
- InstanceCreationEditor.cs
- SqlStatistics.cs
- DockingAttribute.cs
- VisualTransition.cs
- DBCommand.cs
- IOThreadTimer.cs
- UnlockCardRequest.cs
- ProxyGenerator.cs
- DockProviderWrapper.cs
- FieldToken.cs
- SyndicationDeserializer.cs
- AttachedAnnotation.cs
- WebBrowsableAttribute.cs
- Bind.cs
- ListCollectionView.cs
- SingleSelectRootGridEntry.cs
- DbgUtil.cs
- SingleKeyFrameCollection.cs
- CombinedGeometry.cs
- LocalizationComments.cs
- Int32Rect.cs
- WebEventTraceProvider.cs
- AstTree.cs
- FontInfo.cs
- TranslateTransform.cs
- OutOfProcStateClientManager.cs
- EntityContainerEntitySetDefiningQuery.cs
- PrivilegeNotHeldException.cs
- Verify.cs
- WebHttpSecurity.cs
- UriParserTemplates.cs
- NumericUpDownAcceleration.cs
- CacheMemory.cs
- PreviewPageInfo.cs
- TimeSpanConverter.cs
- FormatterServices.cs
- InternalUserCancelledException.cs
- PagedControl.cs
- ScriptMethodAttribute.cs
- DispatcherObject.cs
- Win32.cs
- DesignBindingConverter.cs
- SingleAnimationBase.cs
- ECDsaCng.cs
- TriggerAction.cs
- DocumentSchemaValidator.cs
- SafeRightsManagementSessionHandle.cs