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
- SessionPageStateSection.cs
- ProfileModule.cs
- MenuAutoFormat.cs
- ConsumerConnectionPoint.cs
- TransformProviderWrapper.cs
- NameValueConfigurationCollection.cs
- ExcludePathInfo.cs
- ObjectDataSourceEventArgs.cs
- ColorConverter.cs
- PropertyStore.cs
- TreeViewEvent.cs
- PathData.cs
- securitycriticaldataClass.cs
- RuleSetBrowserDialog.cs
- UrlPropertyAttribute.cs
- DoWorkEventArgs.cs
- DataSourceViewSchemaConverter.cs
- RegionData.cs
- TcpProcessProtocolHandler.cs
- Psha1DerivedKeyGenerator.cs
- ModuleBuilder.cs
- ReadOnlyDictionary.cs
- XNodeValidator.cs
- ComEventsHelper.cs
- LineServices.cs
- ExpandedWrapper.cs
- AxParameterData.cs
- DbParameterHelper.cs
- BinaryFormatter.cs
- SerializableAttribute.cs
- JournalEntryStack.cs
- DataObject.cs
- Dispatcher.cs
- CryptoProvider.cs
- WebBrowserNavigatedEventHandler.cs
- StateWorkerRequest.cs
- XamlReaderHelper.cs
- WCFServiceClientProxyGenerator.cs
- Dynamic.cs
- PathFigureCollection.cs
- FormClosingEvent.cs
- WebUtil.cs
- TripleDES.cs
- OracleConnection.cs
- StringFunctions.cs
- HuffmanTree.cs
- ThreadPool.cs
- RegistrationProxy.cs
- ErrorBehavior.cs
- ApplicationProxyInternal.cs
- TableProviderWrapper.cs
- XPathAxisIterator.cs
- XamlTreeBuilderBamlRecordWriter.cs
- XmlUtilWriter.cs
- ResourceManager.cs
- ConnectionManagementElementCollection.cs
- BamlMapTable.cs
- ProgressBar.cs
- DataViewSetting.cs
- AddressAlreadyInUseException.cs
- DrawingGroupDrawingContext.cs
- RuntimeDelegateArgument.cs
- TemplatePagerField.cs
- ImageMapEventArgs.cs
- DictionaryContent.cs
- hwndwrapper.cs
- TreeNodeBinding.cs
- LogEntryHeaderSerializer.cs
- PingReply.cs
- TableLayoutColumnStyleCollection.cs
- Tile.cs
- PriorityRange.cs
- MenuItemStyleCollection.cs
- ReadOnlyDataSource.cs
- TypeBuilderInstantiation.cs
- ColorAnimationBase.cs
- PreProcessor.cs
- MouseEvent.cs
- DropDownList.cs
- ListBoxChrome.cs
- UTF7Encoding.cs
- WebServiceEnumData.cs
- ColorMap.cs
- XmlPropertyBag.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- PKCS1MaskGenerationMethod.cs
- ScriptingRoleServiceSection.cs
- SystemException.cs
- LinkConverter.cs
- CompressEmulationStream.cs
- XsdValidatingReader.cs
- Imaging.cs
- InvalidOperationException.cs
- XmlDocument.cs
- ProxyHelper.cs
- RegexParser.cs
- CriticalFinalizerObject.cs
- TaskFormBase.cs
- RootDesignerSerializerAttribute.cs
- Sequence.cs