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
- NetTcpSecurity.cs
- ScopelessEnumAttribute.cs
- SiteMapDataSourceView.cs
- EntityException.cs
- XmlSigningNodeWriter.cs
- CompositeActivityDesigner.cs
- VirtualizingStackPanel.cs
- Calendar.cs
- HttpListenerException.cs
- RtType.cs
- ValueExpressions.cs
- PartialTrustHelpers.cs
- Token.cs
- CodeDOMUtility.cs
- IndependentlyAnimatedPropertyMetadata.cs
- HotSpot.cs
- ButtonBaseAdapter.cs
- DesignerAutoFormatStyle.cs
- SqlDependencyUtils.cs
- RadioButton.cs
- StateMachine.cs
- Listbox.cs
- Substitution.cs
- BitmapEffect.cs
- SmtpTransport.cs
- InstallerTypeAttribute.cs
- PointAnimationUsingKeyFrames.cs
- TemplateInstanceAttribute.cs
- WmfPlaceableFileHeader.cs
- TextDecoration.cs
- HttpHeaderCollection.cs
- MemberInitExpression.cs
- BindingNavigator.cs
- CustomError.cs
- ValueConversionAttribute.cs
- SessionKeyExpiredException.cs
- safePerfProviderHandle.cs
- UndoManager.cs
- SelectionChangedEventArgs.cs
- ProcessHostServerConfig.cs
- DynamicDiscoveryDocument.cs
- Rules.cs
- BooleanExpr.cs
- SpecialNameAttribute.cs
- Itemizer.cs
- WebHeaderCollection.cs
- WorkflowCreationContext.cs
- odbcmetadatacollectionnames.cs
- ComplexTypeEmitter.cs
- CompoundFileStorageReference.cs
- CodeNamespaceImportCollection.cs
- ResourceContainer.cs
- HitTestResult.cs
- WsdlImporterElement.cs
- EditCommandColumn.cs
- MissingMethodException.cs
- ConfigXmlCDataSection.cs
- SystemNetworkInterface.cs
- FreezableDefaultValueFactory.cs
- ComponentEditorForm.cs
- DynamicUpdateCommand.cs
- ValidationEventArgs.cs
- WebBrowserUriTypeConverter.cs
- CategoryGridEntry.cs
- SolidBrush.cs
- SoundPlayer.cs
- UpdateException.cs
- UnsafeNativeMethodsMilCoreApi.cs
- SessionEndedEventArgs.cs
- ThemeDirectoryCompiler.cs
- RequestCacheValidator.cs
- ObjectDataSourceStatusEventArgs.cs
- ObjectTag.cs
- Semaphore.cs
- WindowsStartMenu.cs
- DescendantOverDescendantQuery.cs
- DispatcherBuilder.cs
- SplineKeyFrames.cs
- FixedDSBuilder.cs
- FactoryGenerator.cs
- RemoteWebConfigurationHost.cs
- PackageDigitalSignatureManager.cs
- _IPv4Address.cs
- CellTreeNodeVisitors.cs
- RenderDataDrawingContext.cs
- WindowsAuthenticationModule.cs
- TreeViewImageGenerator.cs
- DataService.cs
- DataSourceControl.cs
- TablePatternIdentifiers.cs
- Splitter.cs
- ValidationUtility.cs
- ViewGenResults.cs
- InvalidEnumArgumentException.cs
- XslVisitor.cs
- QueryResults.cs
- DataSourceCollectionBase.cs
- BaseServiceProvider.cs
- TemplatedMailWebEventProvider.cs
- AnnotationResourceChangedEventArgs.cs