Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewAccessibleObject.cs
- Win32KeyboardDevice.cs
- PeerTransportCredentialType.cs
- DynamicResourceExtension.cs
- FixedSOMTable.cs
- CustomCredentialPolicy.cs
- MultiDataTrigger.cs
- UniqueIdentifierService.cs
- ClientOptions.cs
- AnnotationResourceCollection.cs
- DefaultWorkflowLoaderService.cs
- PictureBoxDesigner.cs
- HttpListenerElement.cs
- StandardToolWindows.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- FilterEventArgs.cs
- SafeArrayRankMismatchException.cs
- SID.cs
- SQLByte.cs
- PropertiesTab.cs
- AlternateViewCollection.cs
- IisTraceListener.cs
- AssemblyBuilderData.cs
- StrongNameUtility.cs
- DesignerCategoryAttribute.cs
- SmiSettersStream.cs
- KeyPressEvent.cs
- InvalidateEvent.cs
- ButtonFieldBase.cs
- HttpCacheVaryByContentEncodings.cs
- SafeHGlobalHandleCritical.cs
- CodeChecksumPragma.cs
- RepeatButtonAutomationPeer.cs
- DebugHandleTracker.cs
- MeshGeometry3D.cs
- EDesignUtil.cs
- ControlOperationBehavior.cs
- HealthMonitoringSection.cs
- BindingMemberInfo.cs
- __ComObject.cs
- AttachInfo.cs
- UnionQueryOperator.cs
- StackOverflowException.cs
- TableCellCollection.cs
- BooleanFunctions.cs
- DataGridViewTopRowAccessibleObject.cs
- LicenseContext.cs
- VirtualDirectoryMapping.cs
- TextSchema.cs
- UniqueIdentifierService.cs
- Vector.cs
- DataGridCell.cs
- MailHeaderInfo.cs
- AbandonedMutexException.cs
- RowTypePropertyElement.cs
- Object.cs
- FusionWrap.cs
- OneOfTypeConst.cs
- TransactionTable.cs
- EnumUnknown.cs
- XamlStream.cs
- SQLSingleStorage.cs
- InstalledFontCollection.cs
- XsltArgumentList.cs
- SystemColors.cs
- TextCollapsingProperties.cs
- SuppressedPackageProperties.cs
- ProfileEventArgs.cs
- MatrixCamera.cs
- PolicyVersion.cs
- PlaceHolder.cs
- InfiniteTimeSpanConverter.cs
- RegistrationServices.cs
- PointKeyFrameCollection.cs
- Style.cs
- ReferentialConstraint.cs
- IntegrationExceptionEventArgs.cs
- UserControlAutomationPeer.cs
- TypeSchema.cs
- DataObjectFieldAttribute.cs
- StorageEntityContainerMapping.cs
- TheQuery.cs
- Scanner.cs
- DoubleLinkList.cs
- KnownBoxes.cs
- ISAPIRuntime.cs
- SortDescription.cs
- CompoundFileIOPermission.cs
- HebrewCalendar.cs
- HandleExceptionArgs.cs
- PageTheme.cs
- ControlCollection.cs
- CrossAppDomainChannel.cs
- RuleProcessor.cs
- DictionaryCustomTypeDescriptor.cs
- ParameterBuilder.cs
- XPathEmptyIterator.cs
- TableLayoutCellPaintEventArgs.cs
- BrowsableAttribute.cs
- DesignerCategoryAttribute.cs