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
- InternalSafeNativeMethods.cs
- HandleRef.cs
- ProcessHostMapPath.cs
- XhtmlBasicListAdapter.cs
- XsltException.cs
- IIS7UserPrincipal.cs
- ContextMenuStripGroup.cs
- SequenceRange.cs
- VisualStyleTypesAndProperties.cs
- ComponentGlyph.cs
- DateTimeFormatInfoScanner.cs
- SqlUdtInfo.cs
- BaseParaClient.cs
- WindowsRichEdit.cs
- AuthenticationException.cs
- ValuePattern.cs
- GeometryDrawing.cs
- Stroke2.cs
- HeaderUtility.cs
- SingleObjectCollection.cs
- MailMessageEventArgs.cs
- WebPartEditorApplyVerb.cs
- BaseAddressPrefixFilterElementCollection.cs
- _HelperAsyncResults.cs
- NativeMethods.cs
- EdmToObjectNamespaceMap.cs
- PauseStoryboard.cs
- DesignerUtility.cs
- AssemblyBuilder.cs
- UidManager.cs
- DispatcherHooks.cs
- GroupDescription.cs
- DetailsViewDeleteEventArgs.cs
- PropertyGridCommands.cs
- SchemeSettingElement.cs
- OptimizedTemplateContentHelper.cs
- RelationshipWrapper.cs
- SmtpReplyReaderFactory.cs
- ForeignKeyConstraint.cs
- TextEvent.cs
- SqlFlattener.cs
- LineGeometry.cs
- EncoderNLS.cs
- ComplexTypeEmitter.cs
- FrameworkEventSource.cs
- WebServiceEnumData.cs
- DBCommandBuilder.cs
- DisableDpiAwarenessAttribute.cs
- SoapMessage.cs
- ProxyWebPartManager.cs
- XPathSelfQuery.cs
- RichTextBoxContextMenu.cs
- FactoryRecord.cs
- CompiledQueryCacheKey.cs
- DataGridViewLinkCell.cs
- BaseParaClient.cs
- CollectionBuilder.cs
- X509DefaultServiceCertificateElement.cs
- SplineQuaternionKeyFrame.cs
- LinearKeyFrames.cs
- log.cs
- ReachDocumentReferenceCollectionSerializer.cs
- ResourcePermissionBase.cs
- DataControlFieldHeaderCell.cs
- ComponentChangedEvent.cs
- StringConverter.cs
- NegatedCellConstant.cs
- AmbientLight.cs
- ModelFunctionTypeElement.cs
- GiveFeedbackEvent.cs
- Avt.cs
- SortedList.cs
- SmiEventSink_Default.cs
- Subset.cs
- CodeTypeParameterCollection.cs
- TemplateComponentConnector.cs
- Crypto.cs
- SchemaNamespaceManager.cs
- DataGridHeadersVisibilityToVisibilityConverter.cs
- ValueTypeFixupInfo.cs
- SessionStateContainer.cs
- ValidationRuleCollection.cs
- Token.cs
- CacheAxisQuery.cs
- ExecutionEngineException.cs
- LogicalTreeHelper.cs
- WorkflowApplicationEventArgs.cs
- GeneratedCodeAttribute.cs
- TargetConverter.cs
- DesignerImageAdapter.cs
- WebPartActionVerb.cs
- ProfileSettings.cs
- LinqDataSourceInsertEventArgs.cs
- FacetValues.cs
- HwndMouseInputProvider.cs
- XPathNavigatorReader.cs
- DateTimeStorage.cs
- InstalledFontCollection.cs
- COSERVERINFO.cs
- IteratorFilter.cs