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
- DesignTimeResourceProviderFactoryAttribute.cs
- IgnoreSectionHandler.cs
- Effect.cs
- NodeInfo.cs
- ResXResourceReader.cs
- ThrowHelper.cs
- StubHelpers.cs
- smtpconnection.cs
- HttpWriter.cs
- PreservationFileReader.cs
- CodeCatchClause.cs
- CustomBindingElement.cs
- StringUtil.cs
- XamlTypeMapper.cs
- Configuration.cs
- ObjectItemAssemblyLoader.cs
- DateTimeAutomationPeer.cs
- TrueReadOnlyCollection.cs
- ResourceProperty.cs
- WindowProviderWrapper.cs
- HtmlForm.cs
- TextSelectionProcessor.cs
- ReaderWriterLockSlim.cs
- StyleSheetDesigner.cs
- AttributeTable.cs
- DiffuseMaterial.cs
- WizardPanel.cs
- CapabilitiesUse.cs
- SafeReadContext.cs
- ImageField.cs
- PackageStore.cs
- CodeSnippetStatement.cs
- SevenBitStream.cs
- SecurityPolicySection.cs
- Control.cs
- SingleConverter.cs
- OleDbError.cs
- SqlMethodAttribute.cs
- EmptyReadOnlyDictionaryInternal.cs
- ParameterRetriever.cs
- ImmutablePropertyDescriptorGridEntry.cs
- EntityViewGenerator.cs
- SchemaType.cs
- TextParagraphCache.cs
- ToolStripGrip.cs
- PermissionListSet.cs
- ManagementQuery.cs
- BitmapVisualManager.cs
- StylusButtonCollection.cs
- TagPrefixInfo.cs
- CharacterString.cs
- UnsafeNativeMethodsCLR.cs
- DataGridPagerStyle.cs
- DispatchChannelSink.cs
- MasterPageBuildProvider.cs
- LoadedOrUnloadedOperation.cs
- TypedTableBase.cs
- CheckedListBox.cs
- SiteIdentityPermission.cs
- FilterQuery.cs
- DesignerAdapterUtil.cs
- ParameterExpression.cs
- Stack.cs
- MetadataCache.cs
- GeneralTransformCollection.cs
- Transform3D.cs
- ExecutionEngineException.cs
- BuilderInfo.cs
- FirewallWrapper.cs
- DocComment.cs
- TextOnlyOutput.cs
- SqlConnectionFactory.cs
- And.cs
- ModulesEntry.cs
- TraceRecord.cs
- HexParser.cs
- JsonDeserializer.cs
- ScrollBarAutomationPeer.cs
- CustomPopupPlacement.cs
- GridViewRow.cs
- MessageDesigner.cs
- NumericExpr.cs
- WebPartDeleteVerb.cs
- DeferredReference.cs
- WebDisplayNameAttribute.cs
- AxHost.cs
- OrderablePartitioner.cs
- WindowsScroll.cs
- TraceUtility.cs
- PropertiesTab.cs
- SHA384.cs
- Debug.cs
- TableProviderWrapper.cs
- GAC.cs
- SubstitutionList.cs
- AdPostCacheSubstitution.cs
- NumberSubstitution.cs
- SafeSecurityHandles.cs
- TableChangeProcessor.cs
- ExtenderProvidedPropertyAttribute.cs