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
- QilParameter.cs
- Pair.cs
- FixedTextSelectionProcessor.cs
- CodePageUtils.cs
- ProvideValueServiceProvider.cs
- DeferredTextReference.cs
- DbProviderSpecificTypePropertyAttribute.cs
- VarRemapper.cs
- PolygonHotSpot.cs
- httpstaticobjectscollection.cs
- ContainerParagraph.cs
- TempFiles.cs
- safex509handles.cs
- MailDefinition.cs
- MailFileEditor.cs
- TableLayoutPanelCellPosition.cs
- TypeBuilder.cs
- InfiniteTimeSpanConverter.cs
- PriorityChain.cs
- XD.cs
- StreamUpdate.cs
- TimerElapsedEvenArgs.cs
- ToggleButton.cs
- CompositeControl.cs
- TextOutput.cs
- AsyncResult.cs
- CompilerParameters.cs
- JsonFormatWriterGenerator.cs
- DataGridGeneralPage.cs
- QilCloneVisitor.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- PriorityChain.cs
- XPathMultyIterator.cs
- LinqDataSourceStatusEventArgs.cs
- ItemsPresenter.cs
- TextEditor.cs
- LogRecordSequence.cs
- ComPlusInstanceContextInitializer.cs
- ErrorInfoXmlDocument.cs
- SourceFileBuildProvider.cs
- JsonUriDataContract.cs
- ErrorFormatterPage.cs
- DefaultDialogButtons.cs
- HtmlInputCheckBox.cs
- Calendar.cs
- DisplayMemberTemplateSelector.cs
- FigureParaClient.cs
- FormViewRow.cs
- Message.cs
- GridViewRowCollection.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- EndEvent.cs
- HyperLink.cs
- CompilerParameters.cs
- StrongNameUtility.cs
- AssociationTypeEmitter.cs
- NodeLabelEditEvent.cs
- NextPreviousPagerField.cs
- IUnknownConstantAttribute.cs
- XmlSchemaAppInfo.cs
- ControlDesigner.cs
- TransformCollection.cs
- HttpResponseHeader.cs
- ValidatorCompatibilityHelper.cs
- ClientTarget.cs
- SystemDropShadowChrome.cs
- PbrsForward.cs
- NoneExcludedImageIndexConverter.cs
- ConnectionsZoneDesigner.cs
- RequestCacheManager.cs
- WebPartDeleteVerb.cs
- RadioButton.cs
- EntityContainerAssociationSetEnd.cs
- BmpBitmapDecoder.cs
- RoleManagerSection.cs
- ChangeDirector.cs
- _KerberosClient.cs
- TimeSpanParse.cs
- ToolStripRenderer.cs
- PropertyItem.cs
- Choices.cs
- TimeSpanSecondsConverter.cs
- CodeDirectionExpression.cs
- ErrorInfoXmlDocument.cs
- ToolStripGrip.cs
- EmptyStringExpandableObjectConverter.cs
- ZoneButton.cs
- NameValuePermission.cs
- TraceProvider.cs
- Emitter.cs
- InternalRelationshipCollection.cs
- ImageButton.cs
- ManipulationVelocities.cs
- EntityContainerEmitter.cs
- TreeChangeInfo.cs
- ArrayList.cs
- MetadataProperty.cs
- SQLDecimal.cs
- CellNormalizer.cs
- PropertyFilterAttribute.cs