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
![Network programming in C#, Network Programming in VB.NET, Network Programming in .NET](/images/book.jpg)
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeExpressionStatement.cs
- ObjectRef.cs
- DynamicVirtualDiscoSearcher.cs
- RangeContentEnumerator.cs
- CollectionChangeEventArgs.cs
- SqlHelper.cs
- LinqMaximalSubtreeNominator.cs
- GeometryGroup.cs
- WorkingDirectoryEditor.cs
- DataViewSettingCollection.cs
- CommandID.cs
- JsonDeserializer.cs
- LayoutInformation.cs
- DetailsViewInsertedEventArgs.cs
- Point3DAnimationBase.cs
- XmlSerializerNamespaces.cs
- Bitmap.cs
- StorageEntityContainerMapping.cs
- VirtualDirectoryMappingCollection.cs
- ComponentEditorForm.cs
- PropertyPathConverter.cs
- WebPartRestoreVerb.cs
- SQLInt64Storage.cs
- EventLogWatcher.cs
- EventLogPermission.cs
- StorageTypeMapping.cs
- MouseActionConverter.cs
- TreeViewImageIndexConverter.cs
- SHA256.cs
- TemplateControlCodeDomTreeGenerator.cs
- wgx_exports.cs
- PriorityItem.cs
- HttpsTransportElement.cs
- FlowDocumentReader.cs
- UserPreferenceChangingEventArgs.cs
- Binding.cs
- DataGridCell.cs
- HtmlInputImage.cs
- ObjectRef.cs
- SrgsOneOf.cs
- EventlogProvider.cs
- KeyInterop.cs
- HttpCookieCollection.cs
- OleDbPropertySetGuid.cs
- PropertyPushdownHelper.cs
- DebugView.cs
- WindowsButton.cs
- DataControlLinkButton.cs
- DataMisalignedException.cs
- CompilerTypeWithParams.cs
- SerializableAttribute.cs
- SemanticResultKey.cs
- AddInController.cs
- TableLayoutColumnStyleCollection.cs
- WindowsPrincipal.cs
- ParenthesizePropertyNameAttribute.cs
- Symbol.cs
- InstanceKey.cs
- ElementHostAutomationPeer.cs
- NoneExcludedImageIndexConverter.cs
- RequestQueue.cs
- AliasedSlot.cs
- ProcessStartInfo.cs
- OleDbMetaDataFactory.cs
- SqlErrorCollection.cs
- SettingsPropertyValueCollection.cs
- DataColumnChangeEvent.cs
- DataContractJsonSerializerOperationBehavior.cs
- RuleSetBrowserDialog.cs
- DynamicControlParameter.cs
- SafeCryptContextHandle.cs
- TypeBuilderInstantiation.cs
- Scene3D.cs
- PropertyDescriptorComparer.cs
- Resources.Designer.cs
- MLangCodePageEncoding.cs
- ImageSource.cs
- TransformerTypeCollection.cs
- WsdlBuildProvider.cs
- ProcessHost.cs
- PartManifestEntry.cs
- DataListItemCollection.cs
- ClientBuildManagerCallback.cs
- OleDbConnectionPoolGroupProviderInfo.cs
- NullableDecimalMinMaxAggregationOperator.cs
- PropertyPathConverter.cs
- EntityContainerEntitySetDefiningQuery.cs
- Odbc32.cs
- WindowsImpersonationContext.cs
- CatalogPart.cs
- AudioException.cs
- ScopelessEnumAttribute.cs
- ImageButton.cs
- InvalidCastException.cs
- ReflectionServiceProvider.cs
- WebPartActionVerb.cs
- ResourcesChangeInfo.cs
- EnvironmentPermission.cs
- VoiceSynthesis.cs
- CompensationExtension.cs