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
- WmlFormAdapter.cs
- DrawListViewColumnHeaderEventArgs.cs
- DataGridPageChangedEventArgs.cs
- Fault.cs
- Decimal.cs
- PageEventArgs.cs
- Viewport2DVisual3D.cs
- XmlWrappingReader.cs
- SessionIDManager.cs
- FontWeightConverter.cs
- PtsHelper.cs
- VerificationAttribute.cs
- WorkflowOwnershipException.cs
- TargetControlTypeAttribute.cs
- OdbcUtils.cs
- StorageComplexTypeMapping.cs
- CodeChecksumPragma.cs
- Decimal.cs
- TrayIconDesigner.cs
- AuthenticationManager.cs
- TreeNodeStyleCollection.cs
- TextEditorSelection.cs
- WebPartHelpVerb.cs
- GroupBoxRenderer.cs
- SchemaDeclBase.cs
- BaseCollection.cs
- BooleanAnimationBase.cs
- SafeNativeMethods.cs
- Mappings.cs
- MetadataUtil.cs
- TypeElement.cs
- ToolStripHighContrastRenderer.cs
- TimeZoneInfo.cs
- DBCommandBuilder.cs
- SiteMapDataSource.cs
- MenuItemBindingCollection.cs
- webbrowsersite.cs
- PackUriHelper.cs
- WebPartConnectionsCancelEventArgs.cs
- CultureSpecificStringDictionary.cs
- TypeElement.cs
- TagElement.cs
- ToolStripSeparatorRenderEventArgs.cs
- UdpRetransmissionSettings.cs
- PropertyChangingEventArgs.cs
- CompareValidator.cs
- ReferentialConstraint.cs
- CodeDomConfigurationHandler.cs
- LockedActivityGlyph.cs
- ExpressionDumper.cs
- WaitHandle.cs
- AssemblyBuilderData.cs
- SqlUdtInfo.cs
- HttpCachePolicyElement.cs
- ClientBuildManagerCallback.cs
- TextDecorationUnitValidation.cs
- SHA512.cs
- MatrixKeyFrameCollection.cs
- SliderAutomationPeer.cs
- listviewsubitemcollectioneditor.cs
- BitmapEffectInputData.cs
- WmfPlaceableFileHeader.cs
- RegexReplacement.cs
- BitmapData.cs
- NameTable.cs
- ScrollChrome.cs
- WorkflowDispatchContext.cs
- GroupBoxDesigner.cs
- AttachInfo.cs
- DateTimeOffsetStorage.cs
- XmlILIndex.cs
- GlyphRunDrawing.cs
- MimeObjectFactory.cs
- HttpStreams.cs
- HttpDebugHandler.cs
- OleDbParameter.cs
- InvalidComObjectException.cs
- GeometryGroup.cs
- XmlEncodedRawTextWriter.cs
- MsmqIntegrationChannelListener.cs
- RangeValuePatternIdentifiers.cs
- CharConverter.cs
- IndexedEnumerable.cs
- Model3D.cs
- HtmlInputButton.cs
- CancelEventArgs.cs
- ImportedNamespaceContextItem.cs
- Expressions.cs
- RadioButtonList.cs
- Pkcs7Recipient.cs
- LineInfo.cs
- StrongNamePublicKeyBlob.cs
- XPathDocumentIterator.cs
- SqlUDTStorage.cs
- StringUtil.cs
- CacheDependency.cs
- SqlNotificationRequest.cs
- ComplexLine.cs
- CorrelationManager.cs
- HttpResponseInternalBase.cs