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
- FontStretches.cs
- DataGridViewAdvancedBorderStyle.cs
- webclient.cs
- AsyncStreamReader.cs
- QilList.cs
- CharacterHit.cs
- CommentGlyph.cs
- ClientSponsor.cs
- CompilerGlobalScopeAttribute.cs
- WebPartConnectionsCancelVerb.cs
- WSSecurityOneDotZeroReceiveSecurityHeader.cs
- ZoneButton.cs
- AddInStore.cs
- ErrorFormatter.cs
- FlowDocumentReaderAutomationPeer.cs
- DataBindingList.cs
- BooleanAnimationBase.cs
- XmlSchemaGroup.cs
- FileDialog.cs
- AdRotator.cs
- RegularExpressionValidator.cs
- DockAndAnchorLayout.cs
- ResponseStream.cs
- SoapAttributes.cs
- WebConfigurationHost.cs
- StatusBarItemAutomationPeer.cs
- PageThemeParser.cs
- StatusBarDesigner.cs
- FormViewModeEventArgs.cs
- StringPropertyBuilder.cs
- IRCollection.cs
- BidOverLoads.cs
- CacheAxisQuery.cs
- TypefaceMap.cs
- String.cs
- Atom10FormatterFactory.cs
- RouteParametersHelper.cs
- _LocalDataStoreMgr.cs
- XmlSchemaSimpleTypeRestriction.cs
- BufferModesCollection.cs
- EpmSourcePathSegment.cs
- ListViewItemEventArgs.cs
- Int16.cs
- TransportContext.cs
- DataColumnCollection.cs
- CompoundFileIOPermission.cs
- ReadWriteObjectLock.cs
- FontUnit.cs
- TemplateControlParser.cs
- RangeEnumerable.cs
- TextRange.cs
- ADRoleFactoryConfiguration.cs
- Interop.cs
- FileCodeGroup.cs
- XmlStringTable.cs
- HandlerBase.cs
- DataBoundControlAdapter.cs
- UiaCoreApi.cs
- ColumnHeader.cs
- IdentityReference.cs
- NotEqual.cs
- XsltException.cs
- ClientFormsAuthenticationCredentials.cs
- SocketStream.cs
- GridToolTip.cs
- RijndaelManagedTransform.cs
- CriticalExceptions.cs
- MouseGesture.cs
- Connector.cs
- HttpInputStream.cs
- _AutoWebProxyScriptWrapper.cs
- XmlLanguage.cs
- NameNode.cs
- ContentType.cs
- OleDbReferenceCollection.cs
- GeometryModel3D.cs
- SolidBrush.cs
- Win32Native.cs
- HttpPostedFileBase.cs
- ArrayTypeMismatchException.cs
- DiagnosticStrings.cs
- SiteMap.cs
- DataGridViewMethods.cs
- MarkedHighlightComponent.cs
- TabControl.cs
- ToolStripRenderEventArgs.cs
- ErrorView.xaml.cs
- FtpWebResponse.cs
- EntityDataSourceView.cs
- ServerValidateEventArgs.cs
- GlyphingCache.cs
- MulticastNotSupportedException.cs
- CharEntityEncoderFallback.cs
- DocumentApplicationJournalEntry.cs
- ActivationServices.cs
- WebPartZoneCollection.cs
- SecurityTokenProvider.cs
- XmlIncludeAttribute.cs
- AuthenticationService.cs
- Renderer.cs