Code:
/ 4.0 / 4.0 / 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. /// ///// 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
- OracleConnectionStringBuilder.cs
- RepeaterItemEventArgs.cs
- ImportDesigner.xaml.cs
- SubMenuStyle.cs
- List.cs
- XslAst.cs
- BookmarkOptionsHelper.cs
- BamlRecordHelper.cs
- Color.cs
- BCLDebug.cs
- SecurityPolicySection.cs
- CodeDelegateCreateExpression.cs
- GeneralTransform3D.cs
- ExpressionLexer.cs
- MemberAccessException.cs
- SqlTriggerAttribute.cs
- MultipleViewProviderWrapper.cs
- ScaleTransform3D.cs
- DiscoveryClientBindingElement.cs
- EditingContext.cs
- AuthenticationModulesSection.cs
- LinqDataSourceContextData.cs
- EncodingTable.cs
- HttpProcessUtility.cs
- NetNamedPipeSecurityMode.cs
- ImageProxy.cs
- ListControlConvertEventArgs.cs
- DashStyles.cs
- StringInfo.cs
- ClientType.cs
- Internal.cs
- Model3DGroup.cs
- ReceiveActivityDesignerTheme.cs
- SecurityException.cs
- CacheOutputQuery.cs
- ClientUtils.cs
- CodeGeneratorOptions.cs
- Base64Encoding.cs
- PerfCounterSection.cs
- SafeCryptContextHandle.cs
- SqlClientMetaDataCollectionNames.cs
- HttpCapabilitiesBase.cs
- EventLogQuery.cs
- TabItemAutomationPeer.cs
- Encoder.cs
- ColorMap.cs
- ExpressionWriter.cs
- XmlBinaryWriter.cs
- RepeaterItem.cs
- DataBoundControl.cs
- CommandID.cs
- _CookieModule.cs
- BitmapFrameDecode.cs
- DbCommandTree.cs
- XmlIncludeAttribute.cs
- ContractBase.cs
- ObjectAnimationBase.cs
- IdnMapping.cs
- ParamArrayAttribute.cs
- XmlEncodedRawTextWriter.cs
- BindingElementCollection.cs
- Selector.cs
- XmlnsDefinitionAttribute.cs
- LocatorPart.cs
- SystemColors.cs
- SettingsPropertyValueCollection.cs
- CorrelationTokenInvalidatedHandler.cs
- TimeoutConverter.cs
- IApplicationTrustManager.cs
- ColumnClickEvent.cs
- FilterRepeater.cs
- TreeViewItemAutomationPeer.cs
- Rotation3DKeyFrameCollection.cs
- Avt.cs
- Schema.cs
- Selector.cs
- RuntimeConfigurationRecord.cs
- SiteMapNode.cs
- loginstatus.cs
- ReadOnlyHierarchicalDataSourceView.cs
- Stylesheet.cs
- EventLogEntry.cs
- DetailsViewActionList.cs
- XPathDocumentIterator.cs
- DefaultObjectMappingItemCollection.cs
- CatalogZone.cs
- SecurityToken.cs
- ActiveDocumentEvent.cs
- SingleStorage.cs
- ConfigPathUtility.cs
- Number.cs
- MruCache.cs
- FreezableOperations.cs
- OdbcConnectionString.cs
- NTAccount.cs
- PointLightBase.cs
- CqlLexerHelpers.cs
- DefaultValueTypeConverter.cs
- DataGridDesigner.cs
- ContextMenuStrip.cs