Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IO / DriveNotFoundException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- SqlInfoMessageEvent.cs
- ToolStripButton.cs
- FileDataSourceCache.cs
- HtmlTitle.cs
- WebEventCodes.cs
- FixedDSBuilder.cs
- SizeChangedEventArgs.cs
- UnsafeNativeMethodsMilCoreApi.cs
- LocatorGroup.cs
- Guid.cs
- WebPartMenuStyle.cs
- ReflectEventDescriptor.cs
- BindingValueChangedEventArgs.cs
- DefaultPropertiesToSend.cs
- SiteMapProvider.cs
- Literal.cs
- HttpRequest.cs
- X509Certificate2.cs
- JoinElimination.cs
- ImmComposition.cs
- TemplateKeyConverter.cs
- LinkedList.cs
- OleDbErrorCollection.cs
- OutputWindow.cs
- WebBrowsableAttribute.cs
- AbstractSvcMapFileLoader.cs
- HttpConfigurationContext.cs
- PeerCollaborationPermission.cs
- InvalidOleVariantTypeException.cs
- AssociationSet.cs
- WorkflowMarkupSerializer.cs
- GeneralTransformCollection.cs
- AddInActivator.cs
- Crc32.cs
- SettingsPropertyNotFoundException.cs
- COMException.cs
- RoleGroup.cs
- XmlParserContext.cs
- FormatException.cs
- SubstitutionResponseElement.cs
- ImmutableObjectAttribute.cs
- ObjectAssociationEndMapping.cs
- XmlQueryRuntime.cs
- SQLSingle.cs
- DbConnectionPoolIdentity.cs
- MethodBuilder.cs
- HttpContext.cs
- SchemaCollectionPreprocessor.cs
- Selection.cs
- UrlAuthFailedErrorFormatter.cs
- ImageClickEventArgs.cs
- TreeNodeCollection.cs
- AssemblyResolver.cs
- DataColumnSelectionConverter.cs
- PolicyException.cs
- QilNode.cs
- _ProxyChain.cs
- FrameworkContextData.cs
- SerializationInfo.cs
- PartitionResolver.cs
- WsatServiceAddress.cs
- ValidatorUtils.cs
- DiscreteKeyFrames.cs
- SHA1CryptoServiceProvider.cs
- ProtectedConfiguration.cs
- FilterableAttribute.cs
- DataGridComboBoxColumn.cs
- XmlC14NWriter.cs
- SortDescription.cs
- ColumnHeader.cs
- OledbConnectionStringbuilder.cs
- baseaxisquery.cs
- UInt32Converter.cs
- Line.cs
- FormsAuthenticationEventArgs.cs
- HttpConfigurationSystem.cs
- ConfigurationPropertyCollection.cs
- SapiRecoContext.cs
- OleDbError.cs
- EncodingDataItem.cs
- CodeStatementCollection.cs
- LinqDataView.cs
- BitmapSource.cs
- SchemaImporterExtensionsSection.cs
- QueryInterceptorAttribute.cs
- AnnouncementEndpoint.cs
- PreApplicationStartMethodAttribute.cs
- FontStyle.cs
- InternalPermissions.cs
- hresults.cs
- CodeSpit.cs
- QueryableDataSourceEditData.cs
- CustomAttributeBuilder.cs
- _SpnDictionary.cs
- DmlSqlGenerator.cs
- IdentifierCollection.cs
- BitSet.cs
- TextEditorLists.cs
- MetadataPropertyAttribute.cs
- MemoryStream.cs