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
- InputLanguage.cs
- NameValueSectionHandler.cs
- CodeSnippetCompileUnit.cs
- PropertyGridEditorPart.cs
- NativeRecognizer.cs
- XmlSerializerSection.cs
- ContextMenuAutomationPeer.cs
- ComponentChangedEvent.cs
- UnsafeNativeMethods.cs
- EventHandlersStore.cs
- TextRangeAdaptor.cs
- XmlILCommand.cs
- complextypematerializer.cs
- BitmapEffectOutputConnector.cs
- ParserHooks.cs
- LateBoundBitmapDecoder.cs
- TypeUnloadedException.cs
- DbDataRecord.cs
- Win32SafeHandles.cs
- ArrangedElementCollection.cs
- DataGridCaption.cs
- QueueProcessor.cs
- ChangePassword.cs
- ExtenderProvidedPropertyAttribute.cs
- ChtmlTextWriter.cs
- ToolboxCategory.cs
- LineSegment.cs
- SafeLibraryHandle.cs
- TableItemPattern.cs
- SHA1CryptoServiceProvider.cs
- XmlObjectSerializerWriteContextComplex.cs
- grammarelement.cs
- parserscommon.cs
- ConfigXmlSignificantWhitespace.cs
- DateTimeAutomationPeer.cs
- ErrorWebPart.cs
- PngBitmapDecoder.cs
- MissingMemberException.cs
- DateTimeValueSerializer.cs
- BasicBrowserDialog.designer.cs
- HandleCollector.cs
- WebConvert.cs
- SelectedPathEditor.cs
- Effect.cs
- FactoryGenerator.cs
- ExpandableObjectConverter.cs
- VectorCollectionValueSerializer.cs
- ColorConverter.cs
- XmlSchemaChoice.cs
- ParsedAttributeCollection.cs
- Parser.cs
- CharacterMetrics.cs
- ProfileSettings.cs
- XmlNodeChangedEventArgs.cs
- SqlTypesSchemaImporter.cs
- CharConverter.cs
- WebServiceParameterData.cs
- HandlerFactoryCache.cs
- PathNode.cs
- Transform.cs
- SqlMetaData.cs
- ClientSettings.cs
- DateTimeFormatInfo.cs
- ImageSourceValueSerializer.cs
- CopyOfAction.cs
- Avt.cs
- SQLBinary.cs
- RadioButtonList.cs
- DiffuseMaterial.cs
- VisualCollection.cs
- FlowLayout.cs
- ServiceOperation.cs
- DataServiceClientException.cs
- ConsoleTraceListener.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- ChameleonKey.cs
- DataSourceGeneratorException.cs
- CheckBoxStandardAdapter.cs
- AdRotatorDesigner.cs
- TableItemPattern.cs
- NativeMethods.cs
- SynchronizationScope.cs
- PerformanceCounterCategory.cs
- ValidationError.cs
- QueryContinueDragEventArgs.cs
- EntityModelSchemaGenerator.cs
- ListViewCommandEventArgs.cs
- MsmqIntegrationProcessProtocolHandler.cs
- XmlLangPropertyAttribute.cs
- FlowLayoutSettings.cs
- TreeNode.cs
- DurableTimerExtension.cs
- ExpressionTextBox.xaml.cs
- MemberPath.cs
- DbCommandDefinition.cs
- AccessDataSource.cs
- Freezable.cs
- CachedRequestParams.cs
- RenamedEventArgs.cs
- Line.cs