Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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; } } } }/// 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
- ToolStripAdornerWindowService.cs
- LinkedResource.cs
- ReadOnlyDictionary.cs
- ContainerSelectorBehavior.cs
- XmlSchemaAnnotated.cs
- PolicyStatement.cs
- ColorAnimation.cs
- DataGridLinkButton.cs
- HebrewNumber.cs
- AnimationException.cs
- DeviceContext2.cs
- CommonObjectSecurity.cs
- CustomCredentialPolicy.cs
- DataGridItemCollection.cs
- AvtEvent.cs
- UICuesEvent.cs
- TextBox.cs
- WorkerRequest.cs
- HashCodeCombiner.cs
- _ChunkParse.cs
- NoResizeSelectionBorderGlyph.cs
- TemplateXamlTreeBuilder.cs
- NonSerializedAttribute.cs
- TableLayoutColumnStyleCollection.cs
- WindowsComboBox.cs
- MessageQueueCriteria.cs
- UIElement3DAutomationPeer.cs
- XmlSchemaValidator.cs
- SecurityPolicySection.cs
- XDRSchema.cs
- ListBoxItemWrapperAutomationPeer.cs
- PageSetupDialog.cs
- HtmlControlPersistable.cs
- BamlLocalizabilityResolver.cs
- CompleteWizardStep.cs
- Number.cs
- ResolveNameEventArgs.cs
- SelectionEditingBehavior.cs
- RemoteWebConfigurationHostStream.cs
- HMACSHA512.cs
- _IPv4Address.cs
- RelatedPropertyManager.cs
- sqlstateclientmanager.cs
- StrongNameUtility.cs
- SingleAnimationBase.cs
- MenuCommand.cs
- ColumnWidthChangingEvent.cs
- ByteStream.cs
- HtmlInputCheckBox.cs
- PagerSettings.cs
- DocumentApplicationState.cs
- Renderer.cs
- HttpModuleActionCollection.cs
- DataBoundControlParameterTarget.cs
- KnownIds.cs
- ADMembershipUser.cs
- InputLanguageCollection.cs
- ValidationEventArgs.cs
- BasicExpandProvider.cs
- ScriptComponentDescriptor.cs
- MarkupObject.cs
- StructuralType.cs
- QualifiedCellIdBoolean.cs
- ConnectionsZoneAutoFormat.cs
- SplitterEvent.cs
- TraceHandlerErrorFormatter.cs
- Query.cs
- ImageList.cs
- XmlObjectSerializerReadContextComplexJson.cs
- EntityParameterCollection.cs
- PresentationAppDomainManager.cs
- ExpandSegment.cs
- TextComposition.cs
- LambdaCompiler.Logical.cs
- IndexingContentUnit.cs
- ProcessModelSection.cs
- ExtendedProperty.cs
- GradientSpreadMethodValidation.cs
- HandlerBase.cs
- XmlRawWriterWrapper.cs
- SystemWebSectionGroup.cs
- EmbeddedMailObjectCollectionEditor.cs
- ClockGroup.cs
- BaseParagraph.cs
- CSharpCodeProvider.cs
- CLSCompliantAttribute.cs
- BuildResultCache.cs
- TextServicesDisplayAttributePropertyRanges.cs
- Parameter.cs
- processwaithandle.cs
- _SecureChannel.cs
- SymmetricAlgorithm.cs
- OrderPreservingSpoolingTask.cs
- Model3D.cs
- Message.cs
- UiaCoreApi.cs
- FileEnumerator.cs
- ContentControl.cs
- ManifestResourceInfo.cs
- RoleManagerSection.cs