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
- DefaultParameterValueAttribute.cs
- ParameterCollection.cs
- CoreSwitches.cs
- InputScope.cs
- ZipIOCentralDirectoryBlock.cs
- _NegoState.cs
- StringUtil.cs
- CultureInfoConverter.cs
- AddingNewEventArgs.cs
- AddingNewEventArgs.cs
- LowerCaseStringConverter.cs
- ObjectAnimationBase.cs
- PointLight.cs
- FloaterParagraph.cs
- MemoryMappedFileSecurity.cs
- DBConnectionString.cs
- Variable.cs
- ButtonColumn.cs
- AuthenticateEventArgs.cs
- IdentityHolder.cs
- DropShadowEffect.cs
- Vector3DKeyFrameCollection.cs
- SystemInfo.cs
- DesignTimeTemplateParser.cs
- AssemblyNameUtility.cs
- Metadata.cs
- UserUseLicenseDictionaryLoader.cs
- PerfCounterSection.cs
- ObjectCacheHost.cs
- EpmCustomContentWriterNodeData.cs
- Reference.cs
- TextEmbeddedObject.cs
- TaiwanLunisolarCalendar.cs
- DataGridViewCheckBoxCell.cs
- ColorConverter.cs
- CatalogPartChrome.cs
- EntityContainerRelationshipSet.cs
- DbgUtil.cs
- SystemColors.cs
- SchemaMapping.cs
- WindowCollection.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- DataObjectCopyingEventArgs.cs
- PageAction.cs
- ImageClickEventArgs.cs
- Ipv6Element.cs
- PlaceHolder.cs
- ImageBrush.cs
- SafeRightsManagementHandle.cs
- TextRunCache.cs
- XmlNodeList.cs
- RepeaterItemCollection.cs
- X509CertificateRecipientServiceCredential.cs
- ProjectedSlot.cs
- VisualStyleRenderer.cs
- GAC.cs
- SystemIcmpV4Statistics.cs
- sqlpipe.cs
- WebPart.cs
- SystemException.cs
- SimpleWebHandlerParser.cs
- OleServicesContext.cs
- DefaultBindingPropertyAttribute.cs
- ISFClipboardData.cs
- SplitterPanel.cs
- Matrix3DStack.cs
- DocumentDesigner.cs
- EncoderBestFitFallback.cs
- Help.cs
- SHA256Cng.cs
- PageThemeParser.cs
- WSDualHttpSecurityElement.cs
- InputProcessorProfilesLoader.cs
- lengthconverter.cs
- OTFRasterizer.cs
- TrustManagerMoreInformation.cs
- GlobalAllocSafeHandle.cs
- WindowsSpinner.cs
- DataTableReader.cs
- AccessKeyManager.cs
- StrongNamePublicKeyBlob.cs
- Quad.cs
- CommonProperties.cs
- ControlValuePropertyAttribute.cs
- EventsTab.cs
- KnownTypesHelper.cs
- EdmProperty.cs
- MailMessage.cs
- SqlExpander.cs
- RuleProcessor.cs
- EntityTypeEmitter.cs
- LogAppendAsyncResult.cs
- QueryLifecycle.cs
- StateWorkerRequest.cs
- ClientRuntimeConfig.cs
- FormViewDeletedEventArgs.cs
- EndpointAddress.cs
- MenuCommands.cs
- ChannelAcceptor.cs
- WindowsButton.cs