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
- NotFiniteNumberException.cs
- XmlSchemaAnnotated.cs
- ChtmlSelectionListAdapter.cs
- GridViewDeletedEventArgs.cs
- __ConsoleStream.cs
- ThicknessAnimation.cs
- AnnotationHelper.cs
- ToolStripDropDownMenu.cs
- DocumentSequence.cs
- ConcurrentBag.cs
- TcpChannelListener.cs
- XmlDictionary.cs
- WorkflowPageSetupDialog.cs
- ImmutableObjectAttribute.cs
- TypedElement.cs
- ParseChildrenAsPropertiesAttribute.cs
- AnimationLayer.cs
- TraceLog.cs
- PrintPreviewGraphics.cs
- NGCSerializer.cs
- DataTableCollection.cs
- IntSecurity.cs
- TraceContext.cs
- ControlValuePropertyAttribute.cs
- SurrogateEncoder.cs
- WindowsListViewSubItem.cs
- BuilderInfo.cs
- WindowsFormsSectionHandler.cs
- ConfigurationManagerHelper.cs
- NodeCounter.cs
- StorageEntityTypeMapping.cs
- TrackingMemoryStream.cs
- SharedPerformanceCounter.cs
- ReplacementText.cs
- QueryOpeningEnumerator.cs
- GridViewCellAutomationPeer.cs
- ChangeTracker.cs
- FixUp.cs
- SimpleLine.cs
- UserInitiatedNavigationPermission.cs
- Formatter.cs
- XPathNode.cs
- SelectionBorderGlyph.cs
- FileSystemWatcher.cs
- DependencyPropertyKey.cs
- xml.cs
- TraceHandler.cs
- DrawListViewColumnHeaderEventArgs.cs
- securitycriticaldataClass.cs
- BindingCompleteEventArgs.cs
- DataSourceControl.cs
- HttpSysSettings.cs
- WebColorConverter.cs
- Material.cs
- DecimalAnimationUsingKeyFrames.cs
- ChannelManager.cs
- MDIWindowDialog.cs
- AnnotationMap.cs
- ChangeTracker.cs
- AttachmentService.cs
- ClientUtils.cs
- TextRange.cs
- DetectRunnableInstancesTask.cs
- SecurityManager.cs
- XXXInfos.cs
- DocumentPageView.cs
- RuleCache.cs
- WindowsRegion.cs
- TemplateNameScope.cs
- unitconverter.cs
- ConnectionPoolManager.cs
- SqlIdentifier.cs
- RecipientInfo.cs
- CompositeControl.cs
- HtmlProps.cs
- DataGridViewElement.cs
- ConstructorNeedsTagAttribute.cs
- SecurityTokenProvider.cs
- Brushes.cs
- XmlIgnoreAttribute.cs
- TripleDESCryptoServiceProvider.cs
- ChildrenQuery.cs
- BufferedStream.cs
- PagedControl.cs
- SizeConverter.cs
- OraclePermissionAttribute.cs
- SemanticResolver.cs
- GZipDecoder.cs
- Span.cs
- TabControl.cs
- SystemColorTracker.cs
- HttpHeaderCollection.cs
- IApplicationTrustManager.cs
- ExclusiveHandleList.cs
- RootProfilePropertySettingsCollection.cs
- BufferedWebEventProvider.cs
- UInt16.cs
- MethodToken.cs
- CachingHintValidation.cs
- ComponentResourceKey.cs