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
- COM2ColorConverter.cs
- SafeNativeMethods.cs
- DataSourceGroupCollection.cs
- MethodBody.cs
- TextBreakpoint.cs
- BaseConfigurationRecord.cs
- HttpValueCollection.cs
- SessionStateUtil.cs
- NamespaceCollection.cs
- SSmlParser.cs
- SqlTypeConverter.cs
- ImageMapEventArgs.cs
- CodeLinePragma.cs
- NullableFloatMinMaxAggregationOperator.cs
- IconConverter.cs
- PerformanceCounter.cs
- TaiwanLunisolarCalendar.cs
- UnsafeNativeMethods.cs
- InsufficientMemoryException.cs
- ColumnResizeUndoUnit.cs
- X509Certificate2Collection.cs
- SafeProcessHandle.cs
- CommandHelpers.cs
- PeerNameRecordCollection.cs
- CalculatedColumn.cs
- LineVisual.cs
- UrlPropertyAttribute.cs
- SiteMapProvider.cs
- HttpConfigurationSystem.cs
- ObjectTag.cs
- ComPlusAuthorization.cs
- BatchWriter.cs
- SHA1Managed.cs
- SqlCacheDependencyDatabaseCollection.cs
- CryptoKeySecurity.cs
- TraceProvider.cs
- HttpWebResponse.cs
- ArrayEditor.cs
- ScriptRef.cs
- FixedFindEngine.cs
- ImageCollectionEditor.cs
- SmiContext.cs
- ListViewHitTestInfo.cs
- TranslateTransform3D.cs
- ZipIORawDataFileBlock.cs
- SafeSecurityHelper.cs
- RepeatInfo.cs
- Events.cs
- FilteredAttributeCollection.cs
- PolicyException.cs
- MetadataCache.cs
- LifetimeServices.cs
- MailAddress.cs
- XmlILModule.cs
- ExpressionVisitor.cs
- DataGridViewColumn.cs
- WebPageTraceListener.cs
- QuerySettings.cs
- ColumnWidthChangingEvent.cs
- EdmEntityTypeAttribute.cs
- DocumentSchemaValidator.cs
- WebPartDeleteVerb.cs
- BaseTemplatedMobileComponentEditor.cs
- DBConnectionString.cs
- FloaterParagraph.cs
- _CommandStream.cs
- AsyncStreamReader.cs
- SQlBooleanStorage.cs
- AuthenticationServiceManager.cs
- DataPagerFieldItem.cs
- InteropAutomationProvider.cs
- Knowncolors.cs
- StylusCaptureWithinProperty.cs
- FormViewUpdatedEventArgs.cs
- MarshalByValueComponent.cs
- ServiceAuthorizationBehavior.cs
- ConfigurationException.cs
- DataGrid.cs
- CatalogPartCollection.cs
- AppDomainFactory.cs
- PriorityBindingExpression.cs
- ParameterCollectionEditor.cs
- HtmlInputPassword.cs
- ObjectNavigationPropertyMapping.cs
- DependencyStoreSurrogate.cs
- AngleUtil.cs
- UIElementPropertyUndoUnit.cs
- CallSite.cs
- ellipse.cs
- PropertyChange.cs
- ToolStripOverflow.cs
- SafeNativeMethods.cs
- TypeBuilderInstantiation.cs
- SoapExtensionStream.cs
- TrackingProfileCache.cs
- UserControlDocumentDesigner.cs
- ListParagraph.cs
- MutexSecurity.cs
- PerformanceCounterManager.cs
- TransactionException.cs