Code:
/ DotNET / DotNET / 8.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
- ConnectionStringSettingsCollection.cs
- SoapReflectionImporter.cs
- StoreAnnotationsMap.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- DataGridViewRowConverter.cs
- TransactionFlowAttribute.cs
- XmlIgnoreAttribute.cs
- Int32Converter.cs
- TdsParser.cs
- TiffBitmapDecoder.cs
- PeerCollaboration.cs
- MessagePartDescription.cs
- FileNameEditor.cs
- CaretElement.cs
- TriggerAction.cs
- ApplicationSecurityManager.cs
- BasicBrowserDialog.designer.cs
- ContextMenu.cs
- RequestSecurityTokenResponse.cs
- SignatureHelper.cs
- DataGridDesigner.cs
- CompilerWrapper.cs
- DrawingCollection.cs
- FixedTextSelectionProcessor.cs
- BindToObject.cs
- DataObjectMethodAttribute.cs
- Predicate.cs
- CustomPopupPlacement.cs
- ScrollBarRenderer.cs
- TailCallAnalyzer.cs
- PackageStore.cs
- WebControlsSection.cs
- EventLogQuery.cs
- DataGridViewComboBoxColumn.cs
- Serializer.cs
- SiteMap.cs
- CngAlgorithmGroup.cs
- DecimalConstantAttribute.cs
- GridViewDeletedEventArgs.cs
- DecimalConstantAttribute.cs
- FirstQueryOperator.cs
- TagPrefixCollection.cs
- HyperlinkAutomationPeer.cs
- GenericTextProperties.cs
- PlanCompilerUtil.cs
- ConfigurationLocationCollection.cs
- controlskin.cs
- MergablePropertyAttribute.cs
- CryptoHandle.cs
- PenContext.cs
- AppDomainManager.cs
- HelpOperationInvoker.cs
- IntSecurity.cs
- ModulesEntry.cs
- MsmqBindingMonitor.cs
- TimeSpanFormat.cs
- RectangleF.cs
- ObjectViewEntityCollectionData.cs
- ImageSource.cs
- XmlDocumentType.cs
- SqlCacheDependencyDatabaseCollection.cs
- XslCompiledTransform.cs
- Int64AnimationUsingKeyFrames.cs
- XmlAtomicValue.cs
- ProfileInfo.cs
- KoreanCalendar.cs
- HandleRef.cs
- VectorCollectionConverter.cs
- Command.cs
- KeyFrames.cs
- IteratorFilter.cs
- CacheRequest.cs
- ProjectionPlanCompiler.cs
- TreeSet.cs
- InstanceNameConverter.cs
- SQLUtility.cs
- SQLString.cs
- InitializationEventAttribute.cs
- WindowsMenu.cs
- RawUIStateInputReport.cs
- PropertyTabChangedEvent.cs
- DataGridViewRowHeaderCell.cs
- QueryRewriter.cs
- AddInToken.cs
- ButtonRenderer.cs
- ListViewCancelEventArgs.cs
- GenericTextProperties.cs
- Control.cs
- TypeDescriptorContext.cs
- XmlTypeMapping.cs
- ObjectManager.cs
- WindowInteractionStateTracker.cs
- LocatorPart.cs
- LinqDataSourceDisposeEventArgs.cs
- Rect3D.cs
- PropertyGrid.cs
- MatrixAnimationUsingPath.cs
- KeyValuePairs.cs
- FormViewModeEventArgs.cs
- _StreamFramer.cs