Code:
/ FX-1434 / FX-1434 / 1.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
- LazyTextWriterCreator.cs
- TheQuery.cs
- FileLevelControlBuilderAttribute.cs
- WebServiceHost.cs
- ColumnMapTranslator.cs
- LicenseContext.cs
- ZipIOFileItemStream.cs
- DataGridViewButtonColumn.cs
- FacetChecker.cs
- XhtmlBasicLabelAdapter.cs
- SmtpException.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- Transactions.cs
- FormatSettings.cs
- ServiceDebugElement.cs
- Type.cs
- Collection.cs
- SourceFilter.cs
- AttributeEmitter.cs
- ParamArrayAttribute.cs
- ListViewInsertEventArgs.cs
- WebEvents.cs
- AttributeUsageAttribute.cs
- BindingCompleteEventArgs.cs
- MenuTracker.cs
- TextParagraphView.cs
- ShaderRenderModeValidation.cs
- BidPrivateBase.cs
- TrustManager.cs
- WindowsListViewGroupHelper.cs
- WindowClosedEventArgs.cs
- OperationResponse.cs
- BinHexEncoder.cs
- TabControl.cs
- ItemCheckEvent.cs
- DiscoveryExceptionDictionary.cs
- SchemaExporter.cs
- ReflectionServiceProvider.cs
- PinnedBufferMemoryStream.cs
- URI.cs
- TemplateBindingExpression.cs
- XmlHierarchicalDataSourceView.cs
- SoapSchemaExporter.cs
- EmptyStringExpandableObjectConverter.cs
- FormsAuthentication.cs
- FormsAuthenticationEventArgs.cs
- MessageQueuePermissionEntry.cs
- XmlText.cs
- AuthenticationModulesSection.cs
- OpenTypeLayoutCache.cs
- BitSet.cs
- SemanticResultKey.cs
- DataGridColumnReorderingEventArgs.cs
- ObjectDataSource.cs
- SingletonChannelAcceptor.cs
- File.cs
- AggregateNode.cs
- DataGridSortingEventArgs.cs
- MdiWindowListItemConverter.cs
- StorageAssociationTypeMapping.cs
- PrinterUnitConvert.cs
- EntitySqlQueryCacheKey.cs
- DetailsViewCommandEventArgs.cs
- CustomAttributeSerializer.cs
- MetabaseServerConfig.cs
- Menu.cs
- DispatcherTimer.cs
- WaitHandleCannotBeOpenedException.cs
- CmsInterop.cs
- RawStylusInput.cs
- BinaryWriter.cs
- DelegatingTypeDescriptionProvider.cs
- WindowsSysHeader.cs
- AuthenticationModuleElement.cs
- Schema.cs
- WsdlBuildProvider.cs
- ValueUnavailableException.cs
- fixedPageContentExtractor.cs
- XPathArrayIterator.cs
- ScriptResourceHandler.cs
- X509Chain.cs
- DataGridCell.cs
- ImageSource.cs
- ConnectionStringsSection.cs
- GetPageNumberCompletedEventArgs.cs
- PassportAuthenticationModule.cs
- ReverseInheritProperty.cs
- CommonGetThemePartSize.cs
- Crc32Helper.cs
- SqlGatherProducedAliases.cs
- GenericPrincipal.cs
- FormViewRow.cs
- AccessorTable.cs
- _DomainName.cs
- DataGridViewComboBoxColumn.cs
- AppliedDeviceFiltersEditor.cs
- EntryIndex.cs
- CheckableControlBaseAdapter.cs
- NativeMethodsOther.cs
- ClientRolePrincipal.cs