Code:
/ DotNET / DotNET / 8.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
- SqlUdtInfo.cs
- TemplateControlBuildProvider.cs
- SqlGenericUtil.cs
- sqlser.cs
- ContainerParaClient.cs
- MetadataCacheItem.cs
- DeviceContexts.cs
- DomNameTable.cs
- LinkLabelLinkClickedEvent.cs
- TextParaClient.cs
- httpserverutility.cs
- ResXFileRef.cs
- SafeCoTaskMem.cs
- MultiPageTextView.cs
- FontFaceLayoutInfo.cs
- WindowsEditBoxRange.cs
- baseaxisquery.cs
- IisHelper.cs
- SmtpSection.cs
- PrimaryKeyTypeConverter.cs
- SettingsPropertyValueCollection.cs
- TextEncodedRawTextWriter.cs
- LineProperties.cs
- DiscreteKeyFrames.cs
- ColorEditor.cs
- FixedTextBuilder.cs
- WindowsPen.cs
- RowToFieldTransformer.cs
- LinkedList.cs
- StrongNameUtility.cs
- ThreadPoolTaskScheduler.cs
- ViewManager.cs
- DbConnectionClosed.cs
- CodeAttachEventStatement.cs
- EventMappingSettings.cs
- ThreadAbortException.cs
- MeshGeometry3D.cs
- SelectionUIHandler.cs
- DefaultValueTypeConverter.cs
- SortDescription.cs
- Drawing.cs
- BadImageFormatException.cs
- Events.cs
- CompilationPass2Task.cs
- XmlSerializableServices.cs
- WorkflowApplicationException.cs
- KeysConverter.cs
- HtmlElementEventArgs.cs
- ConsoleTraceListener.cs
- GridViewRowPresenterBase.cs
- TryLoadRunnableWorkflowCommand.cs
- TypeLoadException.cs
- PeerContact.cs
- CachedFontFamily.cs
- WebBrowserPermission.cs
- HttpEncoder.cs
- Main.cs
- Light.cs
- Timeline.cs
- BulletedListEventArgs.cs
- HttpConfigurationContext.cs
- ContentTextAutomationPeer.cs
- MultiBinding.cs
- BulletedListEventArgs.cs
- XmlSchemaSimpleContentExtension.cs
- FunctionUpdateCommand.cs
- SurrogateChar.cs
- RuntimeHelpers.cs
- NamespaceCollection.cs
- SqlClientWrapperSmiStreamChars.cs
- CollectionTraceRecord.cs
- DrawingState.cs
- FileEnumerator.cs
- OracleConnectionFactory.cs
- UmAlQuraCalendar.cs
- BaseTransportHeaders.cs
- RequestCachePolicyConverter.cs
- WebPartsPersonalization.cs
- DataObject.cs
- WindowsRichEditRange.cs
- WindowAutomationPeer.cs
- ProxyWebPartManager.cs
- InputGestureCollection.cs
- TlsnegoTokenProvider.cs
- XmlILConstructAnalyzer.cs
- SimpleRecyclingCache.cs
- IDispatchConstantAttribute.cs
- CompareInfo.cs
- Pen.cs
- Timer.cs
- ConfigurationStrings.cs
- Vector3D.cs
- RequestTimeoutManager.cs
- Scene3D.cs
- TypeValidationEventArgs.cs
- ItemMap.cs
- TargetParameterCountException.cs
- QueryOptionExpression.cs
- ProcessHost.cs
- ResourcePermissionBaseEntry.cs