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
- FontNamesConverter.cs
- VerticalAlignConverter.cs
- SafeCryptHandles.cs
- MaskedTextBoxTextEditor.cs
- HtmlSelect.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- ParseChildrenAsPropertiesAttribute.cs
- WorkflowInstance.cs
- updateconfighost.cs
- ImageListUtils.cs
- Parser.cs
- UTF8Encoding.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- CompilationUnit.cs
- DataGridLengthConverter.cs
- BaseParaClient.cs
- LongTypeConverter.cs
- AuthenticationManager.cs
- ProfilePropertySettings.cs
- EventHandlersStore.cs
- CircleHotSpot.cs
- XmlDigitalSignatureProcessor.cs
- InternalResources.cs
- _DigestClient.cs
- EventWaitHandle.cs
- VerticalAlignConverter.cs
- XmlSchemaDocumentation.cs
- TriggerAction.cs
- DbParameterHelper.cs
- ComponentChangedEvent.cs
- SubqueryTrackingVisitor.cs
- ObjectListItemCollection.cs
- Pair.cs
- StringDictionary.cs
- ProfileGroupSettings.cs
- DocumentViewerConstants.cs
- WebBrowserPermission.cs
- ListViewSortEventArgs.cs
- NameTable.cs
- StateManagedCollection.cs
- StringResourceManager.cs
- NetCodeGroup.cs
- HTTPNotFoundHandler.cs
- AttributeProviderAttribute.cs
- CounterNameConverter.cs
- DiscoveryMessageSequenceCD1.cs
- DbSetClause.cs
- X500Name.cs
- DataKeyArray.cs
- HttpEncoder.cs
- TypeBrowser.xaml.cs
- MeasureItemEvent.cs
- StandardOleMarshalObject.cs
- DirectoryInfo.cs
- WindowsImpersonationContext.cs
- ToolStripSplitButton.cs
- OrthographicCamera.cs
- XamlPoint3DCollectionSerializer.cs
- InvokerUtil.cs
- FormParameter.cs
- HeaderedItemsControl.cs
- SmiContext.cs
- Font.cs
- ExtentJoinTreeNode.cs
- ISAPIWorkerRequest.cs
- log.cs
- ModelPerspective.cs
- PreviewPageInfo.cs
- MatrixTransform3D.cs
- XmlDataSourceNodeDescriptor.cs
- SQlBooleanStorage.cs
- AsyncOperationContext.cs
- IntSecurity.cs
- PresentationTraceSources.cs
- safemediahandle.cs
- Simplifier.cs
- HtmlForm.cs
- Identity.cs
- ObjectToken.cs
- XmlNodeComparer.cs
- BitmapImage.cs
- PackageStore.cs
- FloaterBaseParagraph.cs
- OleStrCAMarshaler.cs
- Viewport2DVisual3D.cs
- ItemChangedEventArgs.cs
- ClientCultureInfo.cs
- XmlExtensionFunction.cs
- EntityClassGenerator.cs
- Error.cs
- RemoveStoryboard.cs
- ComponentManagerBroker.cs
- DetailsViewInsertedEventArgs.cs
- CacheSection.cs
- MatrixKeyFrameCollection.cs
- ReturnType.cs
- SqlCacheDependencySection.cs
- DefaultExpressionVisitor.cs
- OdbcParameterCollection.cs
- WorkflowEventArgs.cs