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
- AbstractSvcMapFileLoader.cs
- XmlSerializerSection.cs
- mactripleDES.cs
- LabelAutomationPeer.cs
- MultipartIdentifier.cs
- CompModSwitches.cs
- WmpBitmapDecoder.cs
- BamlTreeNode.cs
- TextSyndicationContentKindHelper.cs
- OleDbRowUpdatedEvent.cs
- HttpResponse.cs
- CatalogZoneBase.cs
- GridViewEditEventArgs.cs
- Compilation.cs
- Thumb.cs
- XmlWriterDelegator.cs
- ExtenderControl.cs
- DBDataPermissionAttribute.cs
- WindowsSidIdentity.cs
- cookiecontainer.cs
- HttpCapabilitiesSectionHandler.cs
- XmlCustomFormatter.cs
- validation.cs
- PackageRelationshipCollection.cs
- CustomTypeDescriptor.cs
- RegisteredScript.cs
- Geometry3D.cs
- ThemeDictionaryExtension.cs
- ResXBuildProvider.cs
- MembershipAdapter.cs
- Matrix.cs
- ACE.cs
- ProjectionPlanCompiler.cs
- ScopelessEnumAttribute.cs
- SelectionGlyph.cs
- PropertyTab.cs
- DiagnosticTrace.cs
- AxisAngleRotation3D.cs
- MergablePropertyAttribute.cs
- TransformPattern.cs
- DocumentPage.cs
- DbParameterCollection.cs
- Dispatcher.cs
- KeyedPriorityQueue.cs
- ExtensibleClassFactory.cs
- PersonalizationDictionary.cs
- WebPartCatalogCloseVerb.cs
- PointCollection.cs
- TextAdaptor.cs
- EventDriven.cs
- EventListenerClientSide.cs
- HttpProfileBase.cs
- BitmapEffectInputConnector.cs
- securitycriticaldataClass.cs
- Wizard.cs
- RequestQueryProcessor.cs
- ObfuscateAssemblyAttribute.cs
- PreviewKeyDownEventArgs.cs
- Transform.cs
- WarningException.cs
- UnaryNode.cs
- XPathNavigator.cs
- ErrorFormatter.cs
- BindUriHelper.cs
- _AutoWebProxyScriptHelper.cs
- TextEffectResolver.cs
- PackageStore.cs
- DataGridTextBox.cs
- DateTimeStorage.cs
- CounterCreationData.cs
- WebPartChrome.cs
- QilSortKey.cs
- DetailsViewInsertEventArgs.cs
- Dispatcher.cs
- CngAlgorithmGroup.cs
- XmlValidatingReader.cs
- OdbcParameter.cs
- CultureTableRecord.cs
- LicenseProviderAttribute.cs
- PeerEndPoint.cs
- CFStream.cs
- CryptoHelper.cs
- FixedDocumentPaginator.cs
- SerializableAttribute.cs
- SQLInt32Storage.cs
- UDPClient.cs
- ConstraintEnumerator.cs
- TableLayoutStyle.cs
- ContractComponent.cs
- _LocalDataStoreMgr.cs
- FixedPage.cs
- DetailsViewRowCollection.cs
- JsonObjectDataContract.cs
- Msec.cs
- LightweightCodeGenerator.cs
- ComboBoxItem.cs
- PriorityQueue.cs
- PiiTraceSource.cs
- XmlArrayItemAttribute.cs
- XPathDescendantIterator.cs