Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / ndp / clr / src / BCL / System / IO / DirectoryNotFoundException.cs / 1 / 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); } protected DirectoryNotFoundException(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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- columnmapkeybuilder.cs
- FormViewCommandEventArgs.cs
- ProfileInfo.cs
- OdbcStatementHandle.cs
- DelayedRegex.cs
- ImageDrawing.cs
- SqlDataSourceSelectingEventArgs.cs
- XmlSerializationReader.cs
- StickyNoteContentControl.cs
- PrintControllerWithStatusDialog.cs
- DataGrid.cs
- NameValuePermission.cs
- ListView.cs
- ControlPersister.cs
- ServiceParser.cs
- WebPartZoneCollection.cs
- UnmanagedMemoryStreamWrapper.cs
- TaskFormBase.cs
- OleDbErrorCollection.cs
- TypeLoadException.cs
- newinstructionaction.cs
- RectangleConverter.cs
- WebSysDefaultValueAttribute.cs
- LinqDataSourceEditData.cs
- Menu.cs
- StickyNote.cs
- BitStream.cs
- TextDecoration.cs
- Hash.cs
- HelloMessageCD1.cs
- EdmProperty.cs
- Debug.cs
- messageonlyhwndwrapper.cs
- DataExchangeServiceBinder.cs
- FontDialog.cs
- SmiSettersStream.cs
- JoinTreeSlot.cs
- WeakEventTable.cs
- ColorTransformHelper.cs
- EntityCommandCompilationException.cs
- FormattedText.cs
- EventToken.cs
- PTManager.cs
- GAC.cs
- AssemblyHash.cs
- SelectionRange.cs
- ProcessModelInfo.cs
- SqlResolver.cs
- MobileControlsSectionHandler.cs
- BamlLocalizableResourceKey.cs
- IsolatedStoragePermission.cs
- DataObjectPastingEventArgs.cs
- TemplateBaseAction.cs
- ResourcesChangeInfo.cs
- XmlReflectionMember.cs
- PlainXmlWriter.cs
- FormViewRow.cs
- ImageFormatConverter.cs
- Qualifier.cs
- RelationshipDetailsRow.cs
- SqlBulkCopyColumnMapping.cs
- WebBrowserSiteBase.cs
- SafeFindHandle.cs
- RadioButtonStandardAdapter.cs
- TextFormattingConverter.cs
- UpDownBase.cs
- UIElementAutomationPeer.cs
- GridView.cs
- HitTestFilterBehavior.cs
- Point.cs
- URL.cs
- StyleTypedPropertyAttribute.cs
- FontClient.cs
- WindowsRebar.cs
- DesignerAttributeInfo.cs
- CodeVariableDeclarationStatement.cs
- elementinformation.cs
- DataGridViewRowsAddedEventArgs.cs
- SafeEventLogReadHandle.cs
- ExpressionBuilderContext.cs
- DataServiceResponse.cs
- UdpConstants.cs
- HybridDictionary.cs
- PersistenceProviderDirectory.cs
- CompressionTransform.cs
- WebPartMenuStyle.cs
- FileDialog.cs
- XmlAttributeOverrides.cs
- PrimitiveRenderer.cs
- X509SecurityToken.cs
- PolicyException.cs
- HebrewNumber.cs
- BaseParser.cs
- TypeConverterValueSerializer.cs
- HttpCookieCollection.cs
- UiaCoreProviderApi.cs
- ControlPaint.cs
- QueryCursorEventArgs.cs
- MatrixTransform.cs
- Brush.cs