Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OleDbException.cs
- NameObjectCollectionBase.cs
- DesignerImageAdapter.cs
- ImageSource.cs
- DelegatingHeader.cs
- ActionMessageFilterTable.cs
- MessageBox.cs
- WebPartsPersonalizationAuthorization.cs
- DataConnectionHelper.cs
- BookmarkResumptionRecord.cs
- TextBoxAutomationPeer.cs
- RolePrincipal.cs
- OuterGlowBitmapEffect.cs
- ProxyWebPartConnectionCollection.cs
- SetterBase.cs
- XmlElementList.cs
- GenericTextProperties.cs
- PropertyIDSet.cs
- StreamReader.cs
- PasswordBox.cs
- ComponentChangedEvent.cs
- BitmapData.cs
- UnsafeNativeMethodsCLR.cs
- Keyboard.cs
- OleDbMetaDataFactory.cs
- InputLangChangeRequestEvent.cs
- XmlSchemaIdentityConstraint.cs
- ZipIOLocalFileBlock.cs
- FormatSettings.cs
- GACIdentityPermission.cs
- Triangle.cs
- TextTreeNode.cs
- ItemsPanelTemplate.cs
- EdmProviderManifest.cs
- CompilerScopeManager.cs
- CqlLexer.cs
- PersonalizationStateInfo.cs
- RuleSettingsCollection.cs
- querybuilder.cs
- PinnedBufferMemoryStream.cs
- HierarchicalDataBoundControl.cs
- SerializationException.cs
- SettingsContext.cs
- OptimalTextSource.cs
- PerformanceCounterPermissionEntry.cs
- HelpEvent.cs
- UriExt.cs
- TreeIterators.cs
- SplineQuaternionKeyFrame.cs
- SqlDependencyUtils.cs
- KnownTypesHelper.cs
- ExclusiveHandleList.cs
- MessageQueueConverter.cs
- OracleConnectionFactory.cs
- IsolatedStorageFileStream.cs
- SqlResolver.cs
- RecognizeCompletedEventArgs.cs
- MetadataProperty.cs
- X509Utils.cs
- DbSetClause.cs
- DataSvcMapFileSerializer.cs
- PLINQETWProvider.cs
- StructureChangedEventArgs.cs
- MergeFailedEvent.cs
- QilNode.cs
- AffineTransform3D.cs
- ToolStripComboBox.cs
- EventLogLink.cs
- ExecutionScope.cs
- GetWinFXPath.cs
- XmlSchemaInclude.cs
- StandardBindingElementCollection.cs
- XmlElement.cs
- FreezableCollection.cs
- SecurityState.cs
- ByteStorage.cs
- EntityDataSourceSelectedEventArgs.cs
- CrossSiteScriptingValidation.cs
- BuildDependencySet.cs
- BindingContext.cs
- FormsAuthenticationTicket.cs
- GPStream.cs
- DesignerSelectionListAdapter.cs
- Helpers.cs
- ClientSponsor.cs
- SerializationObjectManager.cs
- FilteredXmlReader.cs
- TimeSpanStorage.cs
- InstanceView.cs
- BoolExpression.cs
- DetailsViewUpdatedEventArgs.cs
- NotSupportedException.cs
- Keywords.cs
- ListViewTableRow.cs
- SQLDateTimeStorage.cs
- ScrollItemPatternIdentifiers.cs
- WMICapabilities.cs
- PieceNameHelper.cs
- HMACMD5.cs
- StaticFileHandler.cs