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
- CompiledELinqQueryState.cs
- RIPEMD160Managed.cs
- SchemaComplexType.cs
- PrefixQName.cs
- TimeManager.cs
- Brush.cs
- PasswordTextNavigator.cs
- RijndaelCryptoServiceProvider.cs
- Assembly.cs
- XmlSerializationReader.cs
- VectorAnimationUsingKeyFrames.cs
- DataTableMappingCollection.cs
- DocumentNUp.cs
- AbsoluteQuery.cs
- SharedPersonalizationStateInfo.cs
- NotifyParentPropertyAttribute.cs
- TableCell.cs
- Assert.cs
- SecurityAlgorithmSuite.cs
- AlphaSortedEnumConverter.cs
- BindingList.cs
- GrammarBuilderBase.cs
- IdentifierCreationService.cs
- WebPartManager.cs
- RuleEngine.cs
- activationcontext.cs
- StrokeRenderer.cs
- PeerResolverElement.cs
- ToolStripItemCollection.cs
- Grant.cs
- RegexBoyerMoore.cs
- DNS.cs
- OrderedParallelQuery.cs
- AssertSection.cs
- FontNameConverter.cs
- DecimalConstantAttribute.cs
- EncoderFallback.cs
- Int32CollectionValueSerializer.cs
- RoutedEventArgs.cs
- Stacktrace.cs
- FixedTextBuilder.cs
- NonClientArea.cs
- connectionpool.cs
- ServiceBehaviorElementCollection.cs
- BreakRecordTable.cs
- Errors.cs
- LogArchiveSnapshot.cs
- ListViewTableRow.cs
- JoinTreeNode.cs
- TextDecorationUnitValidation.cs
- Membership.cs
- ContainerFilterService.cs
- MsmqIntegrationSecurity.cs
- XslVisitor.cs
- XmlToDatasetMap.cs
- PresentationTraceSources.cs
- CommunicationObject.cs
- Activator.cs
- Guid.cs
- ListViewHitTestInfo.cs
- LogRestartAreaEnumerator.cs
- InputBinding.cs
- LockCookie.cs
- IPPacketInformation.cs
- SimpleHandlerBuildProvider.cs
- OperationCanceledException.cs
- DEREncoding.cs
- ThumbAutomationPeer.cs
- StretchValidation.cs
- Menu.cs
- AuthorizationRule.cs
- TemplateColumn.cs
- SubtreeProcessor.cs
- WebPartRestoreVerb.cs
- AccessText.cs
- EventLogEntry.cs
- HttpApplicationFactory.cs
- ServiceModelConfigurationSectionCollection.cs
- ToolStripGripRenderEventArgs.cs
- ClientConfigPaths.cs
- RoleService.cs
- CodeValidator.cs
- TakeQueryOptionExpression.cs
- DataGridViewComboBoxColumnDesigner.cs
- DecimalConstantAttribute.cs
- SqlXml.cs
- TypedReference.cs
- LineServicesCallbacks.cs
- HighlightComponent.cs
- GACMembershipCondition.cs
- DependencyPropertyConverter.cs
- XmlNodeReader.cs
- CompiledELinqQueryState.cs
- MetadataPropertyAttribute.cs
- ParserContext.cs
- ObjectDataSource.cs
- HelloOperationAsyncResult.cs
- SectionRecord.cs
- KeyedHashAlgorithm.cs
- LoginView.cs