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
- PolicyManager.cs
- TextRenderer.cs
- StringExpressionSet.cs
- DataRelation.cs
- RegistrySecurity.cs
- _ConnectionGroup.cs
- SerializationSectionGroup.cs
- FilterException.cs
- prefixendpointaddressmessagefiltertable.cs
- WebScriptEnablingElement.cs
- SplitterCancelEvent.cs
- Durable.cs
- SapiRecoContext.cs
- WorkflowDesigner.cs
- TCEAdapterGenerator.cs
- InvalidAsynchronousStateException.cs
- ParameterExpression.cs
- TemplateColumn.cs
- DispatcherExceptionFilterEventArgs.cs
- StatusBarPanel.cs
- ForwardPositionQuery.cs
- ModulesEntry.cs
- MarkupProperty.cs
- DocumentViewerConstants.cs
- Nodes.cs
- XmlAttributeCollection.cs
- AssemblyInfo.cs
- OdbcReferenceCollection.cs
- DataMemberAttribute.cs
- FindCompletedEventArgs.cs
- DesignerCategoryAttribute.cs
- RemotingSurrogateSelector.cs
- DesigntimeLicenseContext.cs
- InvokeGenerator.cs
- TextTrailingWordEllipsis.cs
- DataServiceBuildProvider.cs
- StaticResourceExtension.cs
- TextTreeText.cs
- FileSecurity.cs
- SplineKeyFrames.cs
- PageOutputQuality.cs
- TokenCreationParameter.cs
- Int32KeyFrameCollection.cs
- DispatcherProcessingDisabled.cs
- PropertyManager.cs
- RuleAction.cs
- Console.cs
- GraphicsPathIterator.cs
- ImageClickEventArgs.cs
- FunctionDetailsReader.cs
- KnownAssembliesSet.cs
- WebPartEditorOkVerb.cs
- WebBrowserBase.cs
- LogicalTreeHelper.cs
- ReadonlyMessageFilter.cs
- ExpressionList.cs
- RestHandler.cs
- PackageRelationship.cs
- metrodevice.cs
- SqlDataSourceParameterParser.cs
- RefreshEventArgs.cs
- SQLByteStorage.cs
- MachineKeySection.cs
- XPathMultyIterator.cs
- GrammarBuilderPhrase.cs
- TdsParserSessionPool.cs
- SessionStateModule.cs
- OpenFileDialog.cs
- ProgressBarRenderer.cs
- SqlErrorCollection.cs
- TriggerCollection.cs
- FilterQueryOptionExpression.cs
- Splitter.cs
- JpegBitmapEncoder.cs
- StructuredProperty.cs
- PrintControllerWithStatusDialog.cs
- AggregateNode.cs
- BaseParagraph.cs
- TemplateGroupCollection.cs
- TypeBrowserDialog.cs
- FixedSOMSemanticBox.cs
- PerformanceCounterManager.cs
- UriParserTemplates.cs
- WebPartZoneBase.cs
- EventToken.cs
- ParseHttpDate.cs
- OdbcConnection.cs
- RbTree.cs
- SqlClientFactory.cs
- DBConcurrencyException.cs
- AdapterUtil.cs
- XmlMemberMapping.cs
- StorageComplexTypeMapping.cs
- GroupBoxRenderer.cs
- COM2Enum.cs
- DataGridViewCheckBoxColumn.cs
- HttpHandlersSection.cs
- Pointer.cs
- Style.cs
- _HeaderInfo.cs