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
- WorkflowQueue.cs
- SeekStoryboard.cs
- TreeNodeCollection.cs
- PostBackOptions.cs
- MasterPageBuildProvider.cs
- ReachUIElementCollectionSerializer.cs
- BasicViewGenerator.cs
- SqlConnectionHelper.cs
- DrawingCollection.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- AutomationEventArgs.cs
- lengthconverter.cs
- CodeTypeDeclarationCollection.cs
- WebFaultException.cs
- TableCellAutomationPeer.cs
- CqlQuery.cs
- cookieexception.cs
- UIElement.cs
- SerialStream.cs
- FontUnitConverter.cs
- sqlnorm.cs
- PassportAuthenticationModule.cs
- SecurityUtils.cs
- SchemaImporterExtensionElement.cs
- AlternateViewCollection.cs
- FontCacheUtil.cs
- ContentType.cs
- LoginCancelEventArgs.cs
- Clipboard.cs
- ScriptHandlerFactory.cs
- LicenseException.cs
- Header.cs
- MemberDescriptor.cs
- ListViewGroupCollectionEditor.cs
- DataGridToolTip.cs
- DataGridTable.cs
- InfiniteIntConverter.cs
- HttpDictionary.cs
- DrawToolTipEventArgs.cs
- OracleFactory.cs
- VBIdentifierDesigner.xaml.cs
- Console.cs
- ListViewTableRow.cs
- Interlocked.cs
- TypeUtil.cs
- WebPartAddingEventArgs.cs
- KeyValuePairs.cs
- OverloadGroupAttribute.cs
- TextContainerChangeEventArgs.cs
- DeploymentExceptionMapper.cs
- CipherData.cs
- PermissionSetTriple.cs
- ConfigurationException.cs
- TagMapInfo.cs
- SchemaImporter.cs
- AnimationException.cs
- Currency.cs
- ReferenceTypeElement.cs
- ClockGroup.cs
- ReferenceEqualityComparer.cs
- Menu.cs
- SymbolType.cs
- TransactionProtocolConverter.cs
- AppDomainProtocolHandler.cs
- TemplatedMailWebEventProvider.cs
- Application.cs
- AstNode.cs
- MachineKeyConverter.cs
- SmiEventSink_Default.cs
- ObjectHandle.cs
- HtmlTableCell.cs
- EntityStoreSchemaGenerator.cs
- AttributeCollection.cs
- FilteredReadOnlyMetadataCollection.cs
- Opcode.cs
- SchemaTableColumn.cs
- NavigationProperty.cs
- DesignerUtility.cs
- XmlLanguageConverter.cs
- AnnotationElement.cs
- AutoSizeComboBox.cs
- PropertySourceInfo.cs
- MeshGeometry3D.cs
- AxParameterData.cs
- SafeThreadHandle.cs
- ToolStripProgressBar.cs
- _UncName.cs
- XDeferredAxisSource.cs
- WindowsTitleBar.cs
- DragEventArgs.cs
- TextTreePropertyUndoUnit.cs
- BuildManagerHost.cs
- FactoryMaker.cs
- StringReader.cs
- XmlHierarchicalEnumerable.cs
- EntityCollectionChangedParams.cs
- ResourcePart.cs
- HttpServerVarsCollection.cs
- DataColumnMappingCollection.cs
- SqlDataSourceFilteringEventArgs.cs