Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- DesignerActionPanel.cs
- FocusTracker.cs
- PropertyRef.cs
- EntitySetDataBindingList.cs
- ManualResetEvent.cs
- Variant.cs
- AesManaged.cs
- CompilerCollection.cs
- SignedXml.cs
- FactoryMaker.cs
- GetImportedCardRequest.cs
- ConnectionStringsExpressionBuilder.cs
- AttributedMetaModel.cs
- DecodeHelper.cs
- MetadataArtifactLoaderFile.cs
- QueryReaderSettings.cs
- X509CertificateChain.cs
- GlyphRun.cs
- ScaleTransform.cs
- XmlSerializerFactory.cs
- SynchronousChannelMergeEnumerator.cs
- SQLRoleProvider.cs
- HttpClientCertificate.cs
- GridViewRowPresenter.cs
- AssertSection.cs
- DataControlFieldTypeEditor.cs
- ZoneIdentityPermission.cs
- PropertyMapper.cs
- ServiceBuildProvider.cs
- InlineCollection.cs
- SignatureGenerator.cs
- RadioButtonPopupAdapter.cs
- Context.cs
- AppearanceEditorPart.cs
- OdbcStatementHandle.cs
- AsyncSerializedWorker.cs
- __TransparentProxy.cs
- PropertyGrid.cs
- TextParagraphCache.cs
- ReflectionUtil.cs
- OpacityConverter.cs
- XmlSchemaImport.cs
- TreeNode.cs
- SimpleLine.cs
- WmfPlaceableFileHeader.cs
- DataSourceDescriptorCollection.cs
- SelectionBorderGlyph.cs
- WebFormsRootDesigner.cs
- PublisherMembershipCondition.cs
- CompositeControl.cs
- RequestCacheManager.cs
- PLINQETWProvider.cs
- SQLDecimal.cs
- CatalogZoneBase.cs
- QilPatternVisitor.cs
- EventLogConfiguration.cs
- PlaceHolder.cs
- BuildManager.cs
- DbDataAdapter.cs
- HttpDebugHandler.cs
- CfgParser.cs
- PanelStyle.cs
- WebEventTraceProvider.cs
- documentsequencetextview.cs
- AttributeUsageAttribute.cs
- DataSourceGroupCollection.cs
- VBIdentifierName.cs
- XhtmlBasicPanelAdapter.cs
- BuildProviderCollection.cs
- ZipIOLocalFileDataDescriptor.cs
- HierarchicalDataTemplate.cs
- RecipientInfo.cs
- ImportCatalogPart.cs
- RowToParametersTransformer.cs
- PrivilegedConfigurationManager.cs
- NetDataContractSerializer.cs
- AutomationPatternInfo.cs
- DSGeneratorProblem.cs
- DbDeleteCommandTree.cs
- DataGridViewCellStyleChangedEventArgs.cs
- Wizard.cs
- LabelLiteral.cs
- ParentQuery.cs
- InplaceBitmapMetadataWriter.cs
- DetailsView.cs
- LineBreak.cs
- Attributes.cs
- ArithmeticException.cs
- ResumeStoryboard.cs
- ListCardsInFileRequest.cs
- ColumnMap.cs
- DesignTimeData.cs
- SqlXmlStorage.cs
- ConstructorNeedsTagAttribute.cs
- KeyPullup.cs
- ToolBarButtonDesigner.cs
- SamlAdvice.cs
- XmlSchemaSimpleContentRestriction.cs
- CorrelationManager.cs
- UrlAuthFailedErrorFormatter.cs