Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / IO / PathTooLongException.cs / 1 / PathTooLongException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: PathTooLongException ** ** ** Purpose: Exception for paths and/or filenames that are ** too long. ** ** ===========================================================*/ using System; using System.Runtime.Serialization; namespace System.IO { [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class PathTooLongException : IOException { public PathTooLongException() : base(Environment.GetResourceString("IO.PathTooLong")) { SetErrorCode(__HResults.COR_E_PATHTOOLONG); } public PathTooLongException(String message) : base(message) { SetErrorCode(__HResults.COR_E_PATHTOOLONG); } public PathTooLongException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_PATHTOOLONG); } protected PathTooLongException(SerializationInfo info, StreamingContext context) : base (info, context) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- InputProviderSite.cs
- UnknownBitmapDecoder.cs
- ButtonFieldBase.cs
- ChtmlTextWriter.cs
- ErrorFormatterPage.cs
- Msmq3PoisonHandler.cs
- ContextTokenTypeConverter.cs
- SelectedDatesCollection.cs
- SequentialOutput.cs
- DependsOnAttribute.cs
- PlainXmlDeserializer.cs
- TraceSection.cs
- PathGeometry.cs
- XmlTextReaderImpl.cs
- FormViewInsertEventArgs.cs
- RenderDataDrawingContext.cs
- AssociationSet.cs
- AssemblyResourceLoader.cs
- ControlAdapter.cs
- VirtualDirectoryMappingCollection.cs
- DBDataPermissionAttribute.cs
- ExceptionHandlerDesigner.cs
- CopyAttributesAction.cs
- SecurityDocument.cs
- StaticExtensionConverter.cs
- InsufficientMemoryException.cs
- ReliabilityContractAttribute.cs
- PropertyChangingEventArgs.cs
- EntityDesignerUtils.cs
- PasswordDeriveBytes.cs
- URLIdentityPermission.cs
- SqlAggregateChecker.cs
- SiteIdentityPermission.cs
- BitVec.cs
- OleDbRowUpdatingEvent.cs
- NegationPusher.cs
- PartitionerStatic.cs
- ViewGenerator.cs
- TagMapInfo.cs
- SharedStatics.cs
- activationcontext.cs
- ProtectedConfigurationSection.cs
- IndexingContentUnit.cs
- XPathNavigator.cs
- TypeViewSchema.cs
- columnmapfactory.cs
- FilteredAttributeCollection.cs
- BaseDataListDesigner.cs
- LookupBindingPropertiesAttribute.cs
- DataBindingExpressionBuilder.cs
- TreeViewImageIndexConverter.cs
- SignedXmlDebugLog.cs
- XsltLibrary.cs
- TableProviderWrapper.cs
- HtmlImage.cs
- FileBasedResourceGroveler.cs
- DefaultClaimSet.cs
- MessageAction.cs
- ArrangedElementCollection.cs
- TemplateNodeContextMenu.cs
- StringConverter.cs
- DataObjectFieldAttribute.cs
- Instrumentation.cs
- IgnoreSectionHandler.cs
- Trace.cs
- WebPartHelpVerb.cs
- FilteredAttributeCollection.cs
- AcceleratedTokenProvider.cs
- StateChangeEvent.cs
- DataGridViewRowStateChangedEventArgs.cs
- HttpGetClientProtocol.cs
- WmpBitmapDecoder.cs
- SqlDesignerDataSourceView.cs
- RegexCharClass.cs
- ComplexType.cs
- VersionConverter.cs
- XmlSchemaSubstitutionGroup.cs
- ThreadAttributes.cs
- WinFormsUtils.cs
- BindUriHelper.cs
- basevalidator.cs
- SecUtil.cs
- EntityContainerEntitySetDefiningQuery.cs
- CultureMapper.cs
- shaperfactoryquerycacheentry.cs
- MultiView.cs
- AsyncPostBackErrorEventArgs.cs
- ISFTagAndGuidCache.cs
- LinqDataSourceContextEventArgs.cs
- SessionSymmetricTransportSecurityProtocolFactory.cs
- Trace.cs
- UserPreferenceChangingEventArgs.cs
- TextRangeEdit.cs
- FaultImportOptions.cs
- Button.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- WaitHandleCannotBeOpenedException.cs
- SettingsPropertyValueCollection.cs
- ClassData.cs
- BaseDataListPage.cs