Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / IO / DriveNotFoundException.cs / 1 / DriveNotFoundException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //============================================================ // // Class: DriveNotFoundException // // Purpose: Exception for accessing a drive that is not available. // // //=========================================================== using System; using System.Runtime.Serialization; namespace System.IO { //Thrown when trying to access a drive that is not availabe. [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class DriveNotFoundException : IOException { public DriveNotFoundException() : base(Environment.GetResourceString("Arg_DriveNotFoundException")) { SetErrorCode(__HResults.COR_E_DIRECTORYNOTFOUND); } public DriveNotFoundException(String message) : base(message) { SetErrorCode(__HResults.COR_E_DIRECTORYNOTFOUND); } public DriveNotFoundException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_DIRECTORYNOTFOUND); } protected DriveNotFoundException(SerializationInfo info, StreamingContext context) : base(info, context) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- TextTabProperties.cs
- SweepDirectionValidation.cs
- SqlTypeConverter.cs
- DropDownButton.cs
- connectionpool.cs
- NameObjectCollectionBase.cs
- AnnotationService.cs
- SqlRowUpdatingEvent.cs
- TraceContext.cs
- TrustManager.cs
- OciEnlistContext.cs
- IItemContainerGenerator.cs
- HasCopySemanticsAttribute.cs
- Repeater.cs
- TextElement.cs
- EmptyEnumerator.cs
- DesignerActionVerbItem.cs
- SessionViewState.cs
- Enlistment.cs
- RegisteredArrayDeclaration.cs
- TreeNode.cs
- PropertyPushdownHelper.cs
- XmlSchemaAttribute.cs
- Underline.cs
- BmpBitmapDecoder.cs
- CodeExpressionRuleDeclaration.cs
- XdrBuilder.cs
- CodeMemberMethod.cs
- StringReader.cs
- ExpressionHelper.cs
- CallContext.cs
- TableHeaderCell.cs
- IRCollection.cs
- EdmEntityTypeAttribute.cs
- VersionConverter.cs
- FieldMetadata.cs
- DataControlPagerLinkButton.cs
- SystemIPv6InterfaceProperties.cs
- ChangeBlockUndoRecord.cs
- SystemNetworkInterface.cs
- ScrollBar.cs
- XmlWrappingReader.cs
- DragCompletedEventArgs.cs
- TableStyle.cs
- CodeSnippetCompileUnit.cs
- FixUp.cs
- StringDictionary.cs
- CatalogPartCollection.cs
- PropertyTabChangedEvent.cs
- RestClientProxyHandler.cs
- TransformerConfigurationWizardBase.cs
- DataGridViewAdvancedBorderStyle.cs
- SafeNativeMethods.cs
- StrokeSerializer.cs
- RangeValueProviderWrapper.cs
- UnionQueryOperator.cs
- DocumentPageViewAutomationPeer.cs
- HotSpotCollection.cs
- DefaultTraceListener.cs
- Vector3DCollection.cs
- EnumValAlphaComparer.cs
- Base64WriteStateInfo.cs
- RawStylusInputCustomData.cs
- SessionEndingCancelEventArgs.cs
- SupportsEventValidationAttribute.cs
- ObjectDataSourceFilteringEventArgs.cs
- SocketPermission.cs
- BaseCodeDomTreeGenerator.cs
- FontFamily.cs
- AdjustableArrowCap.cs
- ComboBoxHelper.cs
- ProcessModelSection.cs
- SortedList.cs
- LogArchiveSnapshot.cs
- CFStream.cs
- DataMemberConverter.cs
- _BufferOffsetSize.cs
- LineBreak.cs
- XmlSchemaAttribute.cs
- SystemColors.cs
- Item.cs
- DataGridSortCommandEventArgs.cs
- PackWebRequest.cs
- ExceptionRoutedEventArgs.cs
- xmlglyphRunInfo.cs
- ArrayTypeMismatchException.cs
- Double.cs
- AuthenticatedStream.cs
- ColorMatrix.cs
- ReflectionServiceProvider.cs
- CollectionType.cs
- FileSystemWatcher.cs
- ContentFileHelper.cs
- CalendarSelectionChangedEventArgs.cs
- IntPtr.cs
- OpCopier.cs
- Vector3DAnimation.cs
- PolyLineSegment.cs
- ExpressionVisitor.cs
- PageBuildProvider.cs