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
- DockPattern.cs
- EntityConnection.cs
- ReflectTypeDescriptionProvider.cs
- ProfileService.cs
- Panel.cs
- XmlAttributeCache.cs
- MenuAdapter.cs
- XamlHttpHandlerFactory.cs
- CqlErrorHelper.cs
- Utilities.cs
- XPathDescendantIterator.cs
- LogFlushAsyncResult.cs
- VersionedStream.cs
- TypeDelegator.cs
- Win32.cs
- XmlComplianceUtil.cs
- EntityContainer.cs
- IntranetCredentialPolicy.cs
- ItemList.cs
- ExeConfigurationFileMap.cs
- SystemParameters.cs
- UTF8Encoding.cs
- VarInfo.cs
- ChannelBinding.cs
- GridViewColumn.cs
- XamlReaderHelper.cs
- FastEncoderWindow.cs
- _ConnectStream.cs
- HasCopySemanticsAttribute.cs
- GenericTextProperties.cs
- ArgumentNullException.cs
- CodeArgumentReferenceExpression.cs
- BinaryObjectInfo.cs
- COMException.cs
- SQLInt64Storage.cs
- IdentitySection.cs
- BitmapMetadataEnumerator.cs
- CalloutQueueItem.cs
- OpenTypeCommon.cs
- JpegBitmapEncoder.cs
- FontUnitConverter.cs
- Point3DValueSerializer.cs
- SortKey.cs
- ConfigurationLocation.cs
- SmtpFailedRecipientsException.cs
- storepermissionattribute.cs
- ForeignConstraint.cs
- DetailsViewDeleteEventArgs.cs
- Command.cs
- TypeTypeConverter.cs
- WebConfigurationFileMap.cs
- DataGridDesigner.cs
- AppPool.cs
- BmpBitmapDecoder.cs
- SafeFileMappingHandle.cs
- Axis.cs
- RangeValidator.cs
- MarkupExtensionSerializer.cs
- DisplayInformation.cs
- OleDbPermission.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- XPathNavigator.cs
- XmlDataSourceNodeDescriptor.cs
- GridViewSelectEventArgs.cs
- CompilationUtil.cs
- ImageListImageEditor.cs
- RectIndependentAnimationStorage.cs
- DesignerTransaction.cs
- ConnectionConsumerAttribute.cs
- DataSourceDesigner.cs
- ListBoxChrome.cs
- PerformanceCounterPermission.cs
- StreamResourceInfo.cs
- FacetDescriptionElement.cs
- ToolStripContainerActionList.cs
- MimeWriter.cs
- NativeMethods.cs
- ScrollPatternIdentifiers.cs
- XamlVector3DCollectionSerializer.cs
- COAUTHIDENTITY.cs
- CustomAttributeBuilder.cs
- UseLicense.cs
- BrowserCapabilitiesCodeGenerator.cs
- FormatException.cs
- DataGridViewCellPaintingEventArgs.cs
- ValidationPropertyAttribute.cs
- X509CertificateClaimSet.cs
- ByteStreamGeometryContext.cs
- PageAdapter.cs
- FormClosingEvent.cs
- ExpressionServices.cs
- IsolatedStoragePermission.cs
- SQLDateTime.cs
- IndexerNameAttribute.cs
- DataSourceSelectArguments.cs
- validationstate.cs
- ExistsInCollection.cs
- InputGestureCollection.cs
- AtlasWeb.Designer.cs
- SecurityTokenException.cs