Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ToolBarButton.cs
- DataSourceXmlSerializationAttribute.cs
- HotSpotCollection.cs
- GlobalProxySelection.cs
- OrderByBuilder.cs
- Enlistment.cs
- LinqToSqlWrapper.cs
- _ConnectOverlappedAsyncResult.cs
- RecognizerStateChangedEventArgs.cs
- HierarchicalDataTemplate.cs
- MDIClient.cs
- XmlText.cs
- BinaryReader.cs
- LogEntryHeaderSerializer.cs
- ImageSource.cs
- PermissionListSet.cs
- ToolStripSettings.cs
- webproxy.cs
- DataGridColumnDropSeparator.cs
- SqlParameter.cs
- BitmapEffectDrawingContextWalker.cs
- ReferencedAssembly.cs
- ClientRoleProvider.cs
- EventLog.cs
- ColorTranslator.cs
- SafeRightsManagementHandle.cs
- HttpAsyncResult.cs
- ExpandableObjectConverter.cs
- Int64Storage.cs
- DbParameterCollectionHelper.cs
- KeyGestureConverter.cs
- Int64KeyFrameCollection.cs
- BitmapEffectDrawing.cs
- Instrumentation.cs
- BaseTreeIterator.cs
- XmlObjectSerializerWriteContext.cs
- DynamicValueConverter.cs
- RelationshipSet.cs
- NamespaceQuery.cs
- IISUnsafeMethods.cs
- PageAsyncTaskManager.cs
- HtmlTextArea.cs
- TypeDescriptionProvider.cs
- XmlSchemaException.cs
- DetailsViewDeleteEventArgs.cs
- RequestQueue.cs
- CompileXomlTask.cs
- PrintPreviewDialog.cs
- WebBrowserNavigatedEventHandler.cs
- RecipientIdentity.cs
- InvalidOperationException.cs
- BrowserTree.cs
- MediaElement.cs
- KeyedHashAlgorithm.cs
- ExternalCalls.cs
- AddValidationError.cs
- EntityContainerRelationshipSetEnd.cs
- Operand.cs
- Point3DCollection.cs
- Soap.cs
- ListBox.cs
- GridViewEditEventArgs.cs
- PersonalizablePropertyEntry.cs
- ManipulationDevice.cs
- StreamGeometry.cs
- AddInBase.cs
- BinaryNode.cs
- HtmlShimManager.cs
- DeclarativeCatalogPart.cs
- SynchronizedInputHelper.cs
- UpdateExpressionVisitor.cs
- CqlIdentifiers.cs
- XmlSchemaAttributeGroupRef.cs
- X509CertificateValidator.cs
- ComponentConverter.cs
- ScrollableControlDesigner.cs
- StateItem.cs
- DocumentViewer.cs
- NonSerializedAttribute.cs
- SortedList.cs
- AuthenticationModuleElement.cs
- PathSegmentCollection.cs
- MultipartContentParser.cs
- Stack.cs
- GuidTagList.cs
- DbCommandTree.cs
- TextOnlyOutput.cs
- BinaryWriter.cs
- SchemaCollectionPreprocessor.cs
- ValuePattern.cs
- StatusBarItemAutomationPeer.cs
- XmlQualifiedName.cs
- securitycriticaldataClass.cs
- JumpTask.cs
- GlyphRun.cs
- DbParameterHelper.cs
- XmlWriterTraceListener.cs
- XmlElementList.cs
- SizeKeyFrameCollection.cs
- RestHandlerFactory.cs