Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- Image.cs
- Font.cs
- Package.cs
- CompModSwitches.cs
- ActivityCodeDomSerializer.cs
- RemotingException.cs
- FamilyCollection.cs
- HostAdapter.cs
- PropertyDescriptor.cs
- HttpContext.cs
- DispatcherEventArgs.cs
- MetadataUtil.cs
- ObjectHandle.cs
- CompoundFileStorageReference.cs
- DesignRelationCollection.cs
- SlotInfo.cs
- FixedSOMTable.cs
- Tuple.cs
- UnsafeNativeMethodsPenimc.cs
- QueryableDataSource.cs
- ResXBuildProvider.cs
- ASCIIEncoding.cs
- AsyncOperation.cs
- SortDescription.cs
- CorrelationToken.cs
- JpegBitmapDecoder.cs
- XmlILOptimizerVisitor.cs
- XsdSchemaFileEditor.cs
- SQLDouble.cs
- RawStylusInputCustomDataList.cs
- GeneralTransform2DTo3D.cs
- HyperlinkAutomationPeer.cs
- ResourceReferenceKeyNotFoundException.cs
- Vector.cs
- RefExpr.cs
- DesignerOptions.cs
- Int32Rect.cs
- WindowsSlider.cs
- DBPropSet.cs
- TextInfo.cs
- StyleHelper.cs
- SystemIPv6InterfaceProperties.cs
- CommonGetThemePartSize.cs
- TypeBuilder.cs
- SwitchExpression.cs
- FilteredReadOnlyMetadataCollection.cs
- RuntimeHandles.cs
- DeclarativeCatalogPart.cs
- SafeNativeMethods.cs
- SafePEFileHandle.cs
- Peer.cs
- NavigationProperty.cs
- HwndKeyboardInputProvider.cs
- RightsManagementPermission.cs
- TextParaLineResult.cs
- DynamicRenderer.cs
- PanelStyle.cs
- OutputCacheSettings.cs
- DatePicker.cs
- ResourceAttributes.cs
- MenuCommandService.cs
- TemplateContent.cs
- TemplateField.cs
- PackageDocument.cs
- UnmanagedHandle.cs
- XmlSchemaInclude.cs
- ConstraintStruct.cs
- DebugInfoExpression.cs
- DataObjectMethodAttribute.cs
- counter.cs
- WebPartPersonalization.cs
- IPAddress.cs
- mda.cs
- MILUtilities.cs
- RightsManagementInformation.cs
- ResolveNameEventArgs.cs
- CachedFontFamily.cs
- VerificationException.cs
- HttpProfileGroupBase.cs
- MergeFailedEvent.cs
- MailMessage.cs
- WorkflowInlining.cs
- XmlMtomWriter.cs
- TransformConverter.cs
- ScriptReference.cs
- WebHttpEndpointElement.cs
- CodeComment.cs
- StatusBarPanelClickEvent.cs
- StaticExtension.cs
- GridItemProviderWrapper.cs
- DocumentPageViewAutomationPeer.cs
- DesigntimeLicenseContext.cs
- MsmqBindingMonitor.cs
- BaseAddressPrefixFilterElementCollection.cs
- SmtpMail.cs
- SoundPlayer.cs
- SqlInternalConnectionTds.cs
- RadioButtonPopupAdapter.cs
- ViewSimplifier.cs
- AtomMaterializerLog.cs