Code:
/ FX-1434 / FX-1434 / 1.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
- DurableEnlistmentState.cs
- CodeTypeConstructor.cs
- ServiceBehaviorElementCollection.cs
- Helper.cs
- MessageSecurityOverTcp.cs
- HttpRequestCacheValidator.cs
- HttpHandlerActionCollection.cs
- TableItemProviderWrapper.cs
- GestureRecognitionResult.cs
- AuthenticationServiceManager.cs
- SafeProcessHandle.cs
- FixedDocument.cs
- GlyphShapingProperties.cs
- SwitchLevelAttribute.cs
- ManagementScope.cs
- DataGridViewCellMouseEventArgs.cs
- InvalidOleVariantTypeException.cs
- AttributeCollection.cs
- SessionEndedEventArgs.cs
- Overlapped.cs
- EncryptedPackage.cs
- XmlSchemaAttributeGroupRef.cs
- RuntimeConfigLKG.cs
- HandlerFactoryCache.cs
- DefaultMemberAttribute.cs
- Panel.cs
- ObjectFullSpanRewriter.cs
- LogExtent.cs
- Shape.cs
- printdlgexmarshaler.cs
- XmlUrlResolver.cs
- CommonXSendMessage.cs
- SerializerProvider.cs
- ErrorReporting.cs
- DataGridViewCellFormattingEventArgs.cs
- Listbox.cs
- JsonFormatWriterGenerator.cs
- PerformanceCounterManager.cs
- ChineseLunisolarCalendar.cs
- LinkButton.cs
- DataControlFieldHeaderCell.cs
- RichListBox.cs
- ObjectSecurity.cs
- Task.cs
- ArgumentValidation.cs
- ToolStripMenuItemDesigner.cs
- PropertyDescriptorCollection.cs
- TextViewSelectionProcessor.cs
- TerminatingOperationBehavior.cs
- ItemsPanelTemplate.cs
- DispatcherTimer.cs
- MultitargetingHelpers.cs
- RegexBoyerMoore.cs
- EpmContentDeSerializerBase.cs
- PageBreakRecord.cs
- SoapParser.cs
- DataRelationCollection.cs
- IndentTextWriter.cs
- BitmapEffectDrawingContextState.cs
- _NTAuthentication.cs
- TiffBitmapDecoder.cs
- SmtpFailedRecipientException.cs
- DataGridViewImageCell.cs
- EntityDataSourceChangingEventArgs.cs
- BatchWriter.cs
- HebrewNumber.cs
- WebPartRestoreVerb.cs
- SystemColorTracker.cs
- QilLoop.cs
- TypeExtensions.cs
- ParallelEnumerableWrapper.cs
- ManifestSignatureInformation.cs
- PeerDuplexChannelListener.cs
- ProfileSettingsCollection.cs
- ContentIterators.cs
- XmlIlVisitor.cs
- ImageButton.cs
- CompressedStack.cs
- DashStyle.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- XmlAtomicValue.cs
- ComNativeDescriptor.cs
- SafeSecurityHelper.cs
- PackageFilter.cs
- SafeFileMappingHandle.cs
- ModuleConfigurationInfo.cs
- HttpCachePolicyElement.cs
- EntityDataSourceWizardForm.cs
- XmlTextAttribute.cs
- FontCollection.cs
- CollectionViewGroupRoot.cs
- DispatcherOperation.cs
- XmlCollation.cs
- EdmFunctionAttribute.cs
- DBSqlParserColumnCollection.cs
- Interlocked.cs
- AccessViolationException.cs
- PagerStyle.cs
- Win32.cs
- DataViewManagerListItemTypeDescriptor.cs