Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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) { } } } // 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); } 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
- CfgParser.cs
- LateBoundBitmapDecoder.cs
- FileEnumerator.cs
- InitializingNewItemEventArgs.cs
- DataGridViewLayoutData.cs
- InkCanvasInnerCanvas.cs
- listitem.cs
- BooleanExpr.cs
- MsmqHostedTransportManager.cs
- EventQueueState.cs
- XhtmlConformanceSection.cs
- Base64Stream.cs
- ExceptionUtil.cs
- XXXInfos.cs
- TextElementEnumerator.cs
- TableLayoutSettings.cs
- cookiecollection.cs
- LogLogRecordEnumerator.cs
- ApplicationSecurityInfo.cs
- MimeFormReflector.cs
- ProtectedConfigurationProviderCollection.cs
- GenerateHelper.cs
- Nodes.cs
- GlyphShapingProperties.cs
- PropertyChangeTracker.cs
- MetadataSection.cs
- ServiceHttpHandlerFactory.cs
- UriSectionReader.cs
- MetadataExporter.cs
- FontStretchConverter.cs
- DataGridPageChangedEventArgs.cs
- XomlCompilerError.cs
- CultureInfoConverter.cs
- StandardOleMarshalObject.cs
- ToolStripItemCollection.cs
- EntitySqlQueryCacheKey.cs
- RunInstallerAttribute.cs
- KnowledgeBase.cs
- CompressedStack.cs
- GeneralTransformCollection.cs
- Equal.cs
- DataPagerCommandEventArgs.cs
- ColumnTypeConverter.cs
- wmiprovider.cs
- GPRECT.cs
- ClassHandlersStore.cs
- DrawingVisual.cs
- CharEntityEncoderFallback.cs
- OperationContractGenerationContext.cs
- TreeView.cs
- StrokeNode.cs
- GridViewCellAutomationPeer.cs
- GridViewRowPresenter.cs
- OdbcConnectionString.cs
- HitTestParameters3D.cs
- ConfigXmlElement.cs
- DataSourceSelectArguments.cs
- DES.cs
- WindowsFormsSynchronizationContext.cs
- RequestUriProcessor.cs
- AnimationStorage.cs
- Crc32.cs
- EmptyStringExpandableObjectConverter.cs
- ContainerUIElement3D.cs
- manifestimages.cs
- PassportAuthentication.cs
- UTF8Encoding.cs
- Misc.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- PropertyToken.cs
- CollectionBase.cs
- NativeBuffer.cs
- WebAdminConfigurationHelper.cs
- ImageAnimator.cs
- ReturnValue.cs
- SEHException.cs
- Localizer.cs
- ZipIOZip64EndOfCentralDirectoryLocatorBlock.cs
- CodeSnippetStatement.cs
- IPAddressCollection.cs
- ErrorWrapper.cs
- unitconverter.cs
- Row.cs
- MetafileHeaderWmf.cs
- SelectorItemAutomationPeer.cs
- MouseGestureValueSerializer.cs
- DbParameterHelper.cs
- StringFunctions.cs
- TypeCodeDomSerializer.cs
- EditBehavior.cs
- ColorIndependentAnimationStorage.cs
- ProgressBarBrushConverter.cs
- VirtualDirectoryMapping.cs
- WebPermission.cs
- LinqDataSourceDeleteEventArgs.cs
- PipelineModuleStepContainer.cs
- FixedFindEngine.cs
- SoundPlayer.cs
- SmiGettersStream.cs
- ProviderSettings.cs