Code:
/ DotNET / DotNET / 8.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
- MsmqActivation.cs
- CdpEqualityComparer.cs
- AssemblyCollection.cs
- ServerIdentity.cs
- KernelTypeValidation.cs
- shaper.cs
- Point3DValueSerializer.cs
- TableCellAutomationPeer.cs
- HttpServerVarsCollection.cs
- TextSelectionProcessor.cs
- glyphs.cs
- HttpProfileGroupBase.cs
- XmlUtil.cs
- XamlWriter.cs
- TextTreeText.cs
- ValidatedControlConverter.cs
- XpsFontSerializationService.cs
- NumberSubstitution.cs
- InvalidateEvent.cs
- ServerValidateEventArgs.cs
- TagPrefixAttribute.cs
- HttpProfileBase.cs
- CodeSnippetCompileUnit.cs
- DBCommand.cs
- CollectionsUtil.cs
- mediaeventshelper.cs
- ErrorEventArgs.cs
- ConfigurationCollectionAttribute.cs
- Triplet.cs
- EntityDataSourceDesigner.cs
- SynchronousChannel.cs
- XamlReaderHelper.cs
- SecuritySessionSecurityTokenAuthenticator.cs
- Style.cs
- SqlProcedureAttribute.cs
- SqlGenerator.cs
- SHA1Managed.cs
- Component.cs
- ImageConverter.cs
- HealthMonitoringSectionHelper.cs
- HttpInputStream.cs
- WebPartConnectionsCloseVerb.cs
- WrapperEqualityComparer.cs
- TreeViewImageIndexConverter.cs
- PropertyPath.cs
- ProtectedConfigurationProviderCollection.cs
- WebSysDefaultValueAttribute.cs
- SafeNativeMethods.cs
- PenCursorManager.cs
- RadioButtonDesigner.cs
- SystemThemeKey.cs
- DefaultValueTypeConverter.cs
- SQLDoubleStorage.cs
- DropShadowBitmapEffect.cs
- EntityKey.cs
- SequenceDesigner.xaml.cs
- Message.cs
- PtsHelper.cs
- BitmapEffectDrawingContextWalker.cs
- ASCIIEncoding.cs
- ToolStripScrollButton.cs
- SafeHandles.cs
- latinshape.cs
- X509Utils.cs
- TypeReference.cs
- SHA1.cs
- FolderBrowserDialogDesigner.cs
- DesignerDataTable.cs
- DbExpressionVisitor.cs
- CorePropertiesFilter.cs
- ArrayElementGridEntry.cs
- DPTypeDescriptorContext.cs
- LoadItemsEventArgs.cs
- DataControlField.cs
- PropertyToken.cs
- WebAdminConfigurationHelper.cs
- ArrayExtension.cs
- EntityObject.cs
- NodeCounter.cs
- HttpPostedFileWrapper.cs
- FocusManager.cs
- DataList.cs
- EventPrivateKey.cs
- CodeExpressionRuleDeclaration.cs
- BindableTemplateBuilder.cs
- ParserContext.cs
- SplineQuaternionKeyFrame.cs
- SplineKeyFrames.cs
- PenContexts.cs
- TextEditorSelection.cs
- HtmlTableCellCollection.cs
- Rotation3D.cs
- ListCommandEventArgs.cs
- CharacterBuffer.cs
- ClockController.cs
- TreeNodeBinding.cs
- DataGridPreparingCellForEditEventArgs.cs
- DbgCompiler.cs
- ChangePassword.cs
- CodeArrayCreateExpression.cs