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
- ManagementEventWatcher.cs
- DropDownList.cs
- ColorMatrix.cs
- UriExt.cs
- IApplicationTrustManager.cs
- JsonByteArrayDataContract.cs
- ConfigurationPermission.cs
- DataSourceExpressionCollection.cs
- TreeNodeBindingCollection.cs
- CodeTypeParameterCollection.cs
- SqlClientWrapperSmiStreamChars.cs
- BindingCompleteEventArgs.cs
- ReadContentAsBinaryHelper.cs
- PageParser.cs
- KeyFrames.cs
- OutputCacheSettingsSection.cs
- DataContractSerializer.cs
- SqlClientFactory.cs
- SoapObjectWriter.cs
- ZipPackagePart.cs
- MatrixAnimationUsingPath.cs
- Keywords.cs
- UnknownExceptionActionHelper.cs
- DiagnosticTrace.cs
- SimpleHandlerBuildProvider.cs
- Model3DCollection.cs
- LZCodec.cs
- ContourSegment.cs
- SwitchAttribute.cs
- HandlerFactoryWrapper.cs
- Ref.cs
- IdSpace.cs
- SqlFlattener.cs
- HttpClientChannel.cs
- TypeElement.cs
- DataObject.cs
- XslAstAnalyzer.cs
- WebMessageEncoderFactory.cs
- SourceElementsCollection.cs
- OuterGlowBitmapEffect.cs
- DataRowView.cs
- TransformerTypeCollection.cs
- ImageButton.cs
- ArraySubsetEnumerator.cs
- OletxTransactionManager.cs
- PseudoWebRequest.cs
- SevenBitStream.cs
- UnsignedPublishLicense.cs
- ListViewItem.cs
- HyperLink.cs
- CodeAttachEventStatement.cs
- CheckPair.cs
- UnsafePeerToPeerMethods.cs
- SystemNetworkInterface.cs
- XmlSchemaDatatype.cs
- UserUseLicenseDictionaryLoader.cs
- BindStream.cs
- FontFamilyConverter.cs
- URLString.cs
- OleDbException.cs
- ExtensibleClassFactory.cs
- BitmapMetadataEnumerator.cs
- HostAdapter.cs
- ReleaseInstanceMode.cs
- ColorMatrix.cs
- WindowsTooltip.cs
- QuaternionRotation3D.cs
- DataGridViewColumnTypePicker.cs
- SafeRightsManagementQueryHandle.cs
- ToolStripItemCollection.cs
- SizeConverter.cs
- LogWriteRestartAreaAsyncResult.cs
- NativeMethodsCLR.cs
- EndPoint.cs
- ByteStack.cs
- DataGridViewColumnConverter.cs
- ListBoxDesigner.cs
- MaskedTextProvider.cs
- TraceLog.cs
- ScaleTransform3D.cs
- JapaneseCalendar.cs
- DataGridCheckBoxColumn.cs
- ConnectionConsumerAttribute.cs
- InkPresenter.cs
- IPPacketInformation.cs
- EnumDataContract.cs
- BStrWrapper.cs
- KnownBoxes.cs
- WorkItem.cs
- PageCodeDomTreeGenerator.cs
- SspiNegotiationTokenAuthenticatorState.cs
- HtmlTable.cs
- isolationinterop.cs
- DataListItemCollection.cs
- _AcceptOverlappedAsyncResult.cs
- SchemaExporter.cs
- FilePrompt.cs
- StringDictionaryEditor.cs
- XmlSchemaComplexContentExtension.cs
- CheckBox.cs