Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IO / DriveNotFoundException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- ThrowHelper.cs
- UserPersonalizationStateInfo.cs
- ZipIOCentralDirectoryBlock.cs
- GPPOINT.cs
- GenericPrincipal.cs
- ToolStripDropDownDesigner.cs
- __Filters.cs
- EdmComplexPropertyAttribute.cs
- COM2ComponentEditor.cs
- CacheHelper.cs
- TextPenaltyModule.cs
- XmlQualifiedName.cs
- EntityDataSourceColumn.cs
- SmtpException.cs
- AsymmetricSignatureDeformatter.cs
- CodeGeneratorOptions.cs
- RemoteWebConfigurationHostServer.cs
- SessionStateModule.cs
- DataTable.cs
- TransportChannelListener.cs
- RequiredAttributeAttribute.cs
- LayoutManager.cs
- RotateTransform3D.cs
- SystemNetHelpers.cs
- wmiprovider.cs
- VolatileEnlistmentMultiplexing.cs
- HttpModuleCollection.cs
- ExpressionCopier.cs
- HttpProtocolImporter.cs
- TreeBuilder.cs
- ReferenceService.cs
- DSASignatureDeformatter.cs
- ArrayEditor.cs
- SQLCharsStorage.cs
- LeftCellWrapper.cs
- SponsorHelper.cs
- EntitySet.cs
- MenuCommand.cs
- AppSettingsSection.cs
- DesignDataSource.cs
- EntityConnectionStringBuilder.cs
- FormsAuthenticationUser.cs
- QilIterator.cs
- UInt64.cs
- FormsAuthentication.cs
- EncryptedData.cs
- LinqDataSourceDisposeEventArgs.cs
- MTConfigUtil.cs
- SetterBaseCollection.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- EditorBrowsableAttribute.cs
- CustomValidator.cs
- SchemaCollectionPreprocessor.cs
- ReversePositionQuery.cs
- RNGCryptoServiceProvider.cs
- TableAdapterManagerHelper.cs
- FileSystemInfo.cs
- InfoCardArgumentException.cs
- Image.cs
- TypeConstant.cs
- TransformPatternIdentifiers.cs
- RelatedImageListAttribute.cs
- GridViewRowEventArgs.cs
- ClassDataContract.cs
- VirtualPathData.cs
- QilParameter.cs
- Int32CollectionValueSerializer.cs
- ClickablePoint.cs
- SmiContextFactory.cs
- StandardToolWindows.cs
- XmlChildEnumerator.cs
- StyleTypedPropertyAttribute.cs
- DocumentSequence.cs
- COM2PropertyBuilderUITypeEditor.cs
- EntityModelBuildProvider.cs
- WebCategoryAttribute.cs
- BindingListCollectionView.cs
- Transform3DCollection.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- StateMachine.cs
- QilGeneratorEnv.cs
- CanonicalizationDriver.cs
- RelationshipConverter.cs
- OneOfElement.cs
- BasicExpandProvider.cs
- DataGridViewCheckBoxColumn.cs
- DummyDataSource.cs
- StorageMappingItemLoader.cs
- WebAdminConfigurationHelper.cs
- TypeRestriction.cs
- SettingsPropertyIsReadOnlyException.cs
- QueryCacheManager.cs
- PartEditor.cs
- HScrollBar.cs
- VSWCFServiceContractGenerator.cs
- TemplateKeyConverter.cs
- HitTestResult.cs
- SerializationInfoEnumerator.cs
- initElementDictionary.cs
- XmlFormatExtensionPointAttribute.cs