Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // ==++== // // 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) { } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SecuritySessionFilter.cs
- SynchronizedInputProviderWrapper.cs
- FrameAutomationPeer.cs
- SafeFileHandle.cs
- ModelVisual3D.cs
- SimpleApplicationHost.cs
- ConfigurationSectionCollection.cs
- PropagatorResult.cs
- propertytag.cs
- DataStreams.cs
- EraserBehavior.cs
- MiniLockedBorderGlyph.cs
- ConfigXmlSignificantWhitespace.cs
- SrgsToken.cs
- TaiwanLunisolarCalendar.cs
- IgnoreFlushAndCloseStream.cs
- RegexGroupCollection.cs
- httpstaticobjectscollection.cs
- CssStyleCollection.cs
- OverflowException.cs
- StringFormat.cs
- CodeNamespace.cs
- SpotLight.cs
- CodeCastExpression.cs
- CommonProperties.cs
- IList.cs
- ScrollViewerAutomationPeer.cs
- DataServiceQueryProvider.cs
- ObjectQuery_EntitySqlExtensions.cs
- TracePayload.cs
- BezierSegment.cs
- DefaultPropertiesToSend.cs
- RemotingAttributes.cs
- DiagnosticsConfigurationHandler.cs
- MethodExecutor.cs
- JsonGlobals.cs
- RectIndependentAnimationStorage.cs
- PixelFormat.cs
- ParserStack.cs
- Dictionary.cs
- ImpersonationContext.cs
- SortAction.cs
- ObjectQuery.cs
- SchemaImporter.cs
- PeerNameRecordCollection.cs
- DocumentGridContextMenu.cs
- Model3DGroup.cs
- EqualityComparer.cs
- PhotoPrintingIntent.cs
- Helpers.cs
- SingleKeyFrameCollection.cs
- Geometry.cs
- prompt.cs
- Oci.cs
- OutputCacheSettingsSection.cs
- OdbcStatementHandle.cs
- PropertyStore.cs
- PocoEntityKeyStrategy.cs
- PrintDialog.cs
- COM2IDispatchConverter.cs
- SqlTransaction.cs
- Block.cs
- GridEntryCollection.cs
- UInt16Storage.cs
- RtfControls.cs
- DragEvent.cs
- TextBoxRenderer.cs
- LinqDataSourceInsertEventArgs.cs
- DelegatedStream.cs
- HebrewCalendar.cs
- PropertyCondition.cs
- MetadataCacheItem.cs
- ContentElementCollection.cs
- AutomationElementIdentifiers.cs
- PrimitiveXmlSerializers.cs
- RequestBringIntoViewEventArgs.cs
- Stacktrace.cs
- Char.cs
- TreePrinter.cs
- DataSvcMapFileSerializer.cs
- Reference.cs
- EnumConverter.cs
- CannotUnloadAppDomainException.cs
- Border.cs
- References.cs
- SystemInfo.cs
- ExceptionRoutedEventArgs.cs
- SqlTypeConverter.cs
- InputProcessorProfilesLoader.cs
- CodeFieldReferenceExpression.cs
- __TransparentProxy.cs
- XmlSchemaAll.cs
- RectangleGeometry.cs
- GuidConverter.cs
- SqlDataSourceQueryEditorForm.cs
- ColorDialog.cs
- ApplicationContext.cs
- ResourceDisplayNameAttribute.cs
- XmlDataFileEditor.cs
- CriticalFileToken.cs