Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IO / DirectoryNotFoundException.cs / 1305376 / DirectoryNotFoundException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: DirectoryNotFoundException ** **[....] ** ** ** Purpose: Exception for accessing a path that doesn't exist. ** ** ===========================================================*/ using System; using System.Runtime.Serialization; namespace System.IO { /* * Thrown when trying to access a directory that doesn't exist on disk. * From COM Interop, this exception is thrown for 2 HRESULTS: * the Win32 errorcode-as-HRESULT ERROR_PATH_NOT_FOUND (0x80070003) * and STG_E_PATHNOTFOUND (0x80030003). */ [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class DirectoryNotFoundException : IOException { public DirectoryNotFoundException() : base(Environment.GetResourceString("Arg_DirectoryNotFoundException")) { SetErrorCode(__HResults.COR_E_DIRECTORYNOTFOUND); } public DirectoryNotFoundException(String message) : base(message) { SetErrorCode(__HResults.COR_E_DIRECTORYNOTFOUND); } public DirectoryNotFoundException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_DIRECTORYNOTFOUND); } [System.Security.SecuritySafeCritical] // auto-generated protected DirectoryNotFoundException(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
- CompilerErrorCollection.cs
- SchemeSettingElement.cs
- DataTemplate.cs
- QueryCacheManager.cs
- CodeNamespaceImportCollection.cs
- TextRangeEdit.cs
- WindowsIdentity.cs
- WebPartZone.cs
- Int64.cs
- FrameworkPropertyMetadata.cs
- SqlConnectionHelper.cs
- InputReferenceExpression.cs
- XmlDownloadManager.cs
- ServiceOperationParameter.cs
- MultiByteCodec.cs
- WindowsGraphics.cs
- XmlEntityReference.cs
- DateTimeFormatInfoScanner.cs
- TimeSpanMinutesConverter.cs
- WorkflowApplicationIdleEventArgs.cs
- ColorConverter.cs
- DataContractSerializerOperationGenerator.cs
- SqlDataSourceCustomCommandPanel.cs
- DataRowCollection.cs
- GlyphsSerializer.cs
- OAVariantLib.cs
- LabelEditEvent.cs
- GenericTextProperties.cs
- PointConverter.cs
- ToolboxDataAttribute.cs
- SchemaObjectWriter.cs
- LinqDataSourceValidationException.cs
- CodeTypeParameterCollection.cs
- FileInfo.cs
- TextElementEditingBehaviorAttribute.cs
- hwndwrapper.cs
- PerformanceCounterLib.cs
- MemoryFailPoint.cs
- DirectionalLight.cs
- EntityParameter.cs
- LinkLabelLinkClickedEvent.cs
- SwitchLevelAttribute.cs
- FloaterBaseParaClient.cs
- JavaScriptSerializer.cs
- BmpBitmapDecoder.cs
- ColumnHeaderCollectionEditor.cs
- TableCell.cs
- TokenBasedSet.cs
- LinqMaximalSubtreeNominator.cs
- CurrentChangingEventManager.cs
- VariableAction.cs
- ToolTipService.cs
- EmptyEnumerator.cs
- HttpRuntimeSection.cs
- SimplePropertyEntry.cs
- ScheduleChanges.cs
- RIPEMD160Managed.cs
- CharStorage.cs
- ValueChangedEventManager.cs
- SortDescriptionCollection.cs
- EntityDesignerDataSourceView.cs
- Pool.cs
- FontFamilyConverter.cs
- Inline.cs
- Pens.cs
- DataSource.cs
- ViewLoader.cs
- SizeLimitedCache.cs
- SmtpFailedRecipientsException.cs
- SettingsSavedEventArgs.cs
- ErrorStyle.cs
- HybridDictionary.cs
- ModuleBuilderData.cs
- KernelTypeValidation.cs
- IsolatedStorageSecurityState.cs
- ProfileEventArgs.cs
- RawStylusInput.cs
- RegistryHandle.cs
- SoapTransportImporter.cs
- ToolBarTray.cs
- CodeDomLoader.cs
- ClientTarget.cs
- OracleDataReader.cs
- SymLanguageVendor.cs
- PropertyRef.cs
- XPathNavigatorReader.cs
- WebBaseEventKeyComparer.cs
- EntityDataSourceMemberPath.cs
- ImageCodecInfo.cs
- ILGen.cs
- CultureTable.cs
- GestureRecognitionResult.cs
- EncoderBestFitFallback.cs
- TypeHelper.cs
- ScriptManagerProxy.cs
- WebPartUserCapability.cs
- OleDbRowUpdatingEvent.cs
- TemplateControlCodeDomTreeGenerator.cs
- ApplicationId.cs
- ByteKeyFrameCollection.cs