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
- SectionInformation.cs
- URLAttribute.cs
- arabicshape.cs
- AppModelKnownContentFactory.cs
- HashCryptoHandle.cs
- Stopwatch.cs
- BamlStream.cs
- DependencyPropertyValueSerializer.cs
- MarshalDirectiveException.cs
- ContextProperty.cs
- SafeRegistryKey.cs
- MultiBinding.cs
- SoapElementAttribute.cs
- GuidelineSet.cs
- FileDialogCustomPlacesCollection.cs
- TextCompositionManager.cs
- ToolTipService.cs
- TypeUtils.cs
- HandleRef.cs
- UnmanagedMarshal.cs
- SchemaElementLookUpTableEnumerator.cs
- GreenMethods.cs
- EntityCommandExecutionException.cs
- DbDataRecord.cs
- UnSafeCharBuffer.cs
- Light.cs
- Application.cs
- NamespaceQuery.cs
- ClaimComparer.cs
- RuleSetBrowserDialog.cs
- InputLanguageProfileNotifySink.cs
- LicenseManager.cs
- ManipulationCompletedEventArgs.cs
- SoapClientMessage.cs
- PrintPreviewControl.cs
- Light.cs
- ToolboxItemFilterAttribute.cs
- DependencyPropertyConverter.cs
- SqlServices.cs
- TabletCollection.cs
- IPEndPointCollection.cs
- TraceLog.cs
- SetterBase.cs
- HttpCapabilitiesEvaluator.cs
- OneOfScalarConst.cs
- VerificationAttribute.cs
- ByteKeyFrameCollection.cs
- InitializationEventAttribute.cs
- WebPartEditVerb.cs
- AccessedThroughPropertyAttribute.cs
- PropertyBuilder.cs
- ZipArchive.cs
- NameTable.cs
- SoapSchemaMember.cs
- TargetControlTypeAttribute.cs
- DataGrid.cs
- FlowPanelDesigner.cs
- StringComparer.cs
- SqlBooleanizer.cs
- RemoteWebConfigurationHost.cs
- CellQuery.cs
- Helpers.cs
- Latin1Encoding.cs
- DrawItemEvent.cs
- SafeMarshalContext.cs
- Scheduling.cs
- SimpleRecyclingCache.cs
- ToolTipAutomationPeer.cs
- DataServiceQueryOfT.cs
- SafeRegistryHandle.cs
- TraceListener.cs
- TemplateField.cs
- PatternMatchRules.cs
- SkewTransform.cs
- HashAlgorithm.cs
- FormattedText.cs
- SecurityKeyEntropyMode.cs
- WindowsEditBoxRange.cs
- HttpCacheVaryByContentEncodings.cs
- XmlWriterTraceListener.cs
- TypeUsage.cs
- IndentedTextWriter.cs
- BrowserCapabilitiesFactory.cs
- XmlLanguageConverter.cs
- Point3DAnimationBase.cs
- Point.cs
- PhysicalFontFamily.cs
- XmlDomTextWriter.cs
- FunctionQuery.cs
- UTF7Encoding.cs
- DataGridViewComboBoxColumn.cs
- LogPolicy.cs
- SqlInternalConnection.cs
- SaveFileDialog.cs
- DbMetaDataFactory.cs
- SyndicationSerializer.cs
- TableLayoutStyle.cs
- ClrProviderManifest.cs
- ContentDisposition.cs
- ArrangedElement.cs