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
- ConnectionsZoneDesigner.cs
- COM2TypeInfoProcessor.cs
- WebPartsPersonalizationAuthorization.cs
- ColumnClickEvent.cs
- ZipIORawDataFileBlock.cs
- FileInfo.cs
- hwndwrapper.cs
- WebPartMenu.cs
- Label.cs
- CapabilitiesSection.cs
- BoundConstants.cs
- DynamicRendererThreadManager.cs
- Freezable.cs
- HighlightVisual.cs
- CollectionViewGroupRoot.cs
- PackagePartCollection.cs
- RawStylusSystemGestureInputReport.cs
- StreamAsIStream.cs
- PackagePartCollection.cs
- SchemaTableOptionalColumn.cs
- BufferAllocator.cs
- Int32CollectionConverter.cs
- VisualBrush.cs
- ExtensionQuery.cs
- ImpersonateTokenRef.cs
- AllowedAudienceUriElement.cs
- CreateUserErrorEventArgs.cs
- SHA512Cng.cs
- SendSecurityHeader.cs
- RecommendedAsConfigurableAttribute.cs
- XmlArrayItemAttribute.cs
- ExpressionBinding.cs
- ScriptModule.cs
- EdmItemError.cs
- Error.cs
- NodeFunctions.cs
- BamlTreeNode.cs
- Region.cs
- ObjectSecurity.cs
- RuleConditionDialog.Designer.cs
- DynamicDocumentPaginator.cs
- XmlEntity.cs
- SourceChangedEventArgs.cs
- SeparatorAutomationPeer.cs
- SimpleType.cs
- NameObjectCollectionBase.cs
- DesignOnlyAttribute.cs
- FileAuthorizationModule.cs
- Vector3DAnimationUsingKeyFrames.cs
- VirtualPathProvider.cs
- ElementUtil.cs
- EdmFunction.cs
- DataSourceCache.cs
- IdentityValidationException.cs
- QuaternionRotation3D.cs
- LayoutEvent.cs
- WindowsGraphicsCacheManager.cs
- NonParentingControl.cs
- SessionStateUtil.cs
- CompiledQueryCacheEntry.cs
- HwndSourceParameters.cs
- XmlFormatExtensionAttribute.cs
- HttpHandlerAction.cs
- ValidationEventArgs.cs
- ReflectionUtil.cs
- ContractTypeNameCollection.cs
- TreeNodeBindingDepthConverter.cs
- SimpleHandlerFactory.cs
- EmbeddedObject.cs
- JapaneseLunisolarCalendar.cs
- AsnEncodedData.cs
- ConfigDefinitionUpdates.cs
- DataException.cs
- AccessControlList.cs
- BaseParaClient.cs
- CompilerGeneratedAttribute.cs
- HyperLink.cs
- NotificationContext.cs
- ListViewInsertEventArgs.cs
- CorrelationRequestContext.cs
- HMACSHA512.cs
- SharedPerformanceCounter.cs
- TextLine.cs
- IdentityModelDictionary.cs
- SystemNetworkInterface.cs
- safesecurityhelperavalon.cs
- ActivityInterfaces.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- BrowserDefinitionCollection.cs
- Nodes.cs
- PeerCredentialElement.cs
- LowerCaseStringConverter.cs
- BinaryNode.cs
- XmlSchemaAnnotated.cs
- AssemblyInfo.cs
- TemplateEditingVerb.cs
- DispatcherTimer.cs
- AssemblyNameProxy.cs
- Visual.cs
- SmtpMail.cs