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
- CharacterMetricsDictionary.cs
- WebBrowserEvent.cs
- Html32TextWriter.cs
- RelationshipConverter.cs
- DBConnectionString.cs
- DivideByZeroException.cs
- RemotingAttributes.cs
- CloudCollection.cs
- SqlResolver.cs
- WebPartsSection.cs
- FtpWebRequest.cs
- ProfilePropertyNameValidator.cs
- XMLSyntaxException.cs
- unitconverter.cs
- IsolatedStorageFile.cs
- GridErrorDlg.cs
- CultureData.cs
- BlurBitmapEffect.cs
- DataGridViewColumnStateChangedEventArgs.cs
- Exceptions.cs
- NativeMethods.cs
- RotateTransform.cs
- ProtocolsConfiguration.cs
- DbException.cs
- DynamicPhysicalDiscoSearcher.cs
- ScrollBar.cs
- TableLayoutPanel.cs
- SettingsPropertyValueCollection.cs
- StateRuntime.cs
- XmlSchemaAnyAttribute.cs
- TriggerBase.cs
- ScriptReference.cs
- CodeMemberEvent.cs
- ScriptingSectionGroup.cs
- NamespaceExpr.cs
- SByteStorage.cs
- ValidationRuleCollection.cs
- ZipPackage.cs
- XPathNodeIterator.cs
- EnvironmentPermission.cs
- PropertyStore.cs
- DependencySource.cs
- OleDbConnectionInternal.cs
- IntSecurity.cs
- CDSsyncETWBCLProvider.cs
- ObjectStateFormatter.cs
- DataGridTablesFactory.cs
- RecognizedWordUnit.cs
- XmlnsDictionary.cs
- EntityClientCacheEntry.cs
- PathSegmentCollection.cs
- BamlCollectionHolder.cs
- DataBindingValueUIHandler.cs
- Expressions.cs
- SelectionManager.cs
- VarInfo.cs
- RelatedEnd.cs
- SafeRightsManagementEnvironmentHandle.cs
- BlurEffect.cs
- Int32Rect.cs
- CodeMemberEvent.cs
- TargetParameterCountException.cs
- SqlTriggerContext.cs
- FtpWebRequest.cs
- EUCJPEncoding.cs
- WebFaultException.cs
- DependentList.cs
- Accessible.cs
- OdbcHandle.cs
- Freezable.cs
- InvalidOleVariantTypeException.cs
- CounterCreationDataCollection.cs
- EdmValidator.cs
- DialogResultConverter.cs
- MouseBinding.cs
- ObjectComplexPropertyMapping.cs
- EntityDataSourceChangingEventArgs.cs
- AppendHelper.cs
- KnownTypesProvider.cs
- SecurityDescriptor.cs
- documentsequencetextview.cs
- ReadOnlyCollection.cs
- LoginUtil.cs
- TextRunCacheImp.cs
- SqlFunctionAttribute.cs
- ToolStripDropDownItem.cs
- XmlUnspecifiedAttribute.cs
- ADConnectionHelper.cs
- HandledMouseEvent.cs
- MimeParameterWriter.cs
- BamlRecordWriter.cs
- FactoryGenerator.cs
- ToolStripMenuItem.cs
- NativeRightsManagementAPIsStructures.cs
- OperatingSystem.cs
- Stopwatch.cs
- XXXOnTypeBuilderInstantiation.cs
- ProfileBuildProvider.cs
- MimeTypePropertyAttribute.cs
- ProcessHostConfigUtils.cs