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
- SiteMapNodeCollection.cs
- ToolboxDataAttribute.cs
- AssemblyBuilder.cs
- XPathArrayIterator.cs
- ThreadAttributes.cs
- HyperLinkStyle.cs
- UITypeEditor.cs
- Highlights.cs
- ToolStripDropDown.cs
- MouseEvent.cs
- CqlLexer.cs
- ObjectPropertyMapping.cs
- UserMapPath.cs
- RegularExpressionValidator.cs
- Closure.cs
- SolidColorBrush.cs
- MyContact.cs
- XsdBuildProvider.cs
- Button.cs
- SignatureHelper.cs
- WebPartCancelEventArgs.cs
- SettingsPropertyValueCollection.cs
- PopupEventArgs.cs
- FunctionDescription.cs
- HtmlInputFile.cs
- InputReport.cs
- MethodBuilder.cs
- SqlTriggerAttribute.cs
- OdbcPermission.cs
- XamlGridLengthSerializer.cs
- QilXmlReader.cs
- PartBasedPackageProperties.cs
- HtmlTable.cs
- CodeMemberMethod.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- CreationContext.cs
- FillBehavior.cs
- StatusBarDrawItemEvent.cs
- ObjectReaderCompiler.cs
- PolicyLevel.cs
- WriterOutput.cs
- AdRotator.cs
- UrlPath.cs
- securestring.cs
- DeflateStream.cs
- SelectionRangeConverter.cs
- XPathScanner.cs
- HttpStreamMessage.cs
- FileAuthorizationModule.cs
- RichTextBox.cs
- mil_sdk_version.cs
- MultiTrigger.cs
- NavigationPropertyAccessor.cs
- AnonymousIdentificationModule.cs
- FilteredReadOnlyMetadataCollection.cs
- DataGridColumnCollection.cs
- HtmlInputSubmit.cs
- WebRequestModuleElement.cs
- VersionValidator.cs
- MarkupProperty.cs
- ToolBarButtonClickEvent.cs
- RequestCachingSection.cs
- DataServiceHostWrapper.cs
- XmlILOptimizerVisitor.cs
- InvalidComObjectException.cs
- CapabilitiesUse.cs
- AuthenticatingEventArgs.cs
- X509SecurityTokenAuthenticator.cs
- FilterUserControlBase.cs
- IssuanceTokenProviderBase.cs
- SqlTypeConverter.cs
- VerticalAlignConverter.cs
- PenThreadPool.cs
- ColorTranslator.cs
- DateTimeOffset.cs
- ContractDescription.cs
- ManipulationDeltaEventArgs.cs
- FlowDocumentPage.cs
- _NativeSSPI.cs
- CategoryNameCollection.cs
- InvalidCastException.cs
- WebServiceMethodData.cs
- HttpAsyncResult.cs
- ModelTreeEnumerator.cs
- ApplyTemplatesAction.cs
- TransformGroup.cs
- DeferredTextReference.cs
- ToolStripDropDown.cs
- TcpClientChannel.cs
- DataBindingCollectionConverter.cs
- AnnotationAuthorChangedEventArgs.cs
- CompensatableTransactionScopeActivity.cs
- StylusSystemGestureEventArgs.cs
- DataControlPagerLinkButton.cs
- ConstantExpression.cs
- XPathScanner.cs
- PathSegmentCollection.cs
- Quad.cs
- LinkTarget.cs
- ColorAnimationUsingKeyFrames.cs