Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IO / PathTooLongException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- DataFormat.cs
- TextEditorTyping.cs
- ScopeCompiler.cs
- StandardToolWindows.cs
- SqlSelectClauseBuilder.cs
- Listbox.cs
- TableLayoutStyleCollection.cs
- TrackBarDesigner.cs
- QuotedStringFormatReader.cs
- CurrentTimeZone.cs
- COM2Properties.cs
- BaseUriHelper.cs
- ButtonChrome.cs
- NetworkStream.cs
- BindToObject.cs
- FormsAuthenticationEventArgs.cs
- AggregationMinMaxHelpers.cs
- Helper.cs
- SiteMapNodeItem.cs
- BaseCollection.cs
- MemoryMappedViewStream.cs
- ADConnectionHelper.cs
- GridViewDeleteEventArgs.cs
- SHA384.cs
- DelegateArgument.cs
- DataControlButton.cs
- VisualBrush.cs
- CatalogPart.cs
- OptionalColumn.cs
- FormViewCommandEventArgs.cs
- OleDbTransaction.cs
- HtmlInputRadioButton.cs
- CodeDomSerializationProvider.cs
- HealthMonitoringSection.cs
- ArraySubsetEnumerator.cs
- XmlElementAttribute.cs
- PersistStreamTypeWrapper.cs
- SpeakInfo.cs
- LassoSelectionBehavior.cs
- CreateSequence.cs
- EnumerableValidator.cs
- FamilyTypefaceCollection.cs
- TextTrailingCharacterEllipsis.cs
- ConnectionProviderAttribute.cs
- OdbcCommand.cs
- ViewGenResults.cs
- DbDataSourceEnumerator.cs
- LockCookie.cs
- DetailsViewCommandEventArgs.cs
- WebPartCatalogCloseVerb.cs
- RepeatButtonAutomationPeer.cs
- IMembershipProvider.cs
- XmlNotation.cs
- ModifiableIteratorCollection.cs
- ComEventsHelper.cs
- TraceLevelHelper.cs
- GridItemPattern.cs
- DataGridViewLayoutData.cs
- XpsFont.cs
- WindowsAltTab.cs
- PointCollectionValueSerializer.cs
- StyleConverter.cs
- ClientSponsor.cs
- IPGlobalProperties.cs
- TableLayoutSettingsTypeConverter.cs
- DesignerCapabilities.cs
- CodeTypeReference.cs
- mediaeventargs.cs
- EventArgs.cs
- XmlUnspecifiedAttribute.cs
- DataGridViewIntLinkedList.cs
- CrossAppDomainChannel.cs
- SHA1.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- TrustManagerMoreInformation.cs
- DrawingServices.cs
- ToolStripControlHost.cs
- SimpleNameService.cs
- AutoResizedEvent.cs
- WindowPatternIdentifiers.cs
- OperationCanceledException.cs
- NetStream.cs
- BooleanProjectedSlot.cs
- AtomMaterializerLog.cs
- EmulateRecognizeCompletedEventArgs.cs
- Translator.cs
- ApplicationDirectoryMembershipCondition.cs
- MetaTable.cs
- DropShadowEffect.cs
- PointCollection.cs
- PostBackTrigger.cs
- EventHandlingScope.cs
- IdentityValidationException.cs
- SmiEventStream.cs
- TableItemStyle.cs
- TailCallAnalyzer.cs
- Transform3D.cs
- Registry.cs
- MethodToken.cs
- UserControlAutomationPeer.cs