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
- MenuAdapter.cs
- StopStoryboard.cs
- DurableOperationAttribute.cs
- SelectionRangeConverter.cs
- CatalogZone.cs
- ScrollProviderWrapper.cs
- OneOfTypeConst.cs
- SystemDiagnosticsSection.cs
- AbstractSvcMapFileLoader.cs
- DocumentApplicationJournalEntry.cs
- ParseChildrenAsPropertiesAttribute.cs
- ProtectedConfiguration.cs
- HandlerBase.cs
- KerberosTicketHashIdentifierClause.cs
- MenuCommand.cs
- TextElementEditingBehaviorAttribute.cs
- ContextMarshalException.cs
- Message.cs
- SplitterPanel.cs
- WindowsFormsSynchronizationContext.cs
- ListMarkerSourceInfo.cs
- SQLRoleProvider.cs
- RelationshipType.cs
- IdnElement.cs
- IPPacketInformation.cs
- EventSourceCreationData.cs
- XmlNodeChangedEventArgs.cs
- ColumnClickEvent.cs
- QueryAccessibilityHelpEvent.cs
- CheckedListBox.cs
- isolationinterop.cs
- ConnectionStringSettingsCollection.cs
- xamlnodes.cs
- OuterGlowBitmapEffect.cs
- ButtonBaseAutomationPeer.cs
- LicenseManager.cs
- ZoomPercentageConverter.cs
- ConfigXmlComment.cs
- ResourceReferenceExpression.cs
- CollectionDataContract.cs
- SqlBuilder.cs
- BasicBrowserDialog.cs
- CacheMode.cs
- LockedAssemblyCache.cs
- MessageDescriptionCollection.cs
- XmlDownloadManager.cs
- GeneralTransform3DTo2D.cs
- MailAddress.cs
- SizeConverter.cs
- StrongNameUtility.cs
- ClosableStream.cs
- WindowVisualStateTracker.cs
- EnterpriseServicesHelper.cs
- ApplicationSecurityManager.cs
- NavigationProperty.cs
- TabPanel.cs
- DataGridViewRowCollection.cs
- CellRelation.cs
- RequestContextBase.cs
- documentation.cs
- PropertyCollection.cs
- Visitors.cs
- SRef.cs
- CollectionView.cs
- Rotation3D.cs
- AnnotationAdorner.cs
- SendMessageRecord.cs
- WebPartAddingEventArgs.cs
- ExpressionBinding.cs
- DataGridCaption.cs
- GradientStop.cs
- TypeUtil.cs
- SRGSCompiler.cs
- Regex.cs
- BoolExpression.cs
- XmlSerializerAssemblyAttribute.cs
- SchemaElementLookUpTable.cs
- BitSet.cs
- DbExpressionRules.cs
- CodePageUtils.cs
- Collection.cs
- MemberHolder.cs
- SafeCertificateStore.cs
- ConfigurationStrings.cs
- BitmapMetadataEnumerator.cs
- Stopwatch.cs
- SymmetricKeyWrap.cs
- DataGridViewRowsRemovedEventArgs.cs
- MessagePropertyAttribute.cs
- HttpAsyncResult.cs
- ComplexPropertyEntry.cs
- AttributeEmitter.cs
- ConfigurationConverterBase.cs
- StateDesigner.TransitionInfo.cs
- FixedPosition.cs
- FilterEventArgs.cs
- DataRowChangeEvent.cs
- CollectionConverter.cs
- PrePostDescendentsWalker.cs
- MobileContainerDesigner.cs