Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- ArgumentNullException.cs
- IntegerCollectionEditor.cs
- XpsFixedPageReaderWriter.cs
- XXXOnTypeBuilderInstantiation.cs
- ClientSideQueueItem.cs
- CssStyleCollection.cs
- CaseInsensitiveHashCodeProvider.cs
- ValuePatternIdentifiers.cs
- UnaryNode.cs
- _ConnectionGroup.cs
- HttpModulesSection.cs
- StopStoryboard.cs
- MD5.cs
- GuidelineCollection.cs
- HttpContextWrapper.cs
- UInt32Converter.cs
- WebPartTracker.cs
- CompressionTransform.cs
- Floater.cs
- OutputCacheProfileCollection.cs
- ParsedAttributeCollection.cs
- RuleDefinitions.cs
- ReferenceEqualityComparer.cs
- DbProviderFactoriesConfigurationHandler.cs
- AlphabetConverter.cs
- XmlSchemaAnnotated.cs
- WeakReferenceEnumerator.cs
- SchemaTableColumn.cs
- TimeSpanStorage.cs
- Emitter.cs
- ArraySortHelper.cs
- DefaultProxySection.cs
- FileController.cs
- MaterialGroup.cs
- ImageCodecInfoPrivate.cs
- ListSourceHelper.cs
- PlaceHolder.cs
- CultureNotFoundException.cs
- XamlToRtfWriter.cs
- SHA512.cs
- Rules.cs
- AttachedAnnotation.cs
- EdmItemCollection.cs
- CodeDelegateInvokeExpression.cs
- HttpRuntime.cs
- AnchoredBlock.cs
- ExpressionTextBox.xaml.cs
- ApplicationContext.cs
- WindowsSlider.cs
- SqlDataSourceSelectingEventArgs.cs
- DictionaryChange.cs
- BufferModeSettings.cs
- ButtonBase.cs
- LinqDataSource.cs
- XmlEntity.cs
- TransformerTypeCollection.cs
- DispatcherEventArgs.cs
- SRDisplayNameAttribute.cs
- GcHandle.cs
- XD.cs
- Internal.cs
- WebPartConnectionsCancelEventArgs.cs
- PlaceHolder.cs
- AsyncOperationManager.cs
- PtsPage.cs
- EnumConverter.cs
- WorkflowDebuggerSteppingAttribute.cs
- InstrumentationTracker.cs
- PackageRelationshipCollection.cs
- HtmlContainerControl.cs
- RemotingClientProxy.cs
- WizardPanelChangingEventArgs.cs
- WebPartDesigner.cs
- ToolStripTextBox.cs
- ListViewDesigner.cs
- PlaceHolder.cs
- ColumnReorderedEventArgs.cs
- DataGridViewColumnHeaderCell.cs
- EventLogException.cs
- StreamUpdate.cs
- ArrayWithOffset.cs
- Helpers.cs
- NamespaceImport.cs
- EventToken.cs
- MaskPropertyEditor.cs
- ClientSection.cs
- ProfilePropertySettingsCollection.cs
- BuildProviderAppliesToAttribute.cs
- AmbiguousMatchException.cs
- TokenBasedSetEnumerator.cs
- EdmEntityTypeAttribute.cs
- DataGridCellAutomationPeer.cs
- WebReferenceOptions.cs
- MenuCommand.cs
- XmlWriterTraceListener.cs
- OledbConnectionStringbuilder.cs
- HttpApplicationStateWrapper.cs
- CookieProtection.cs
- EntityTypeEmitter.cs
- HtmlTableRowCollection.cs