Code:
/ DotNET / DotNET / 8.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
- XsltLoader.cs
- BitmapDownload.cs
- SymbolUsageManager.cs
- IIS7UserPrincipal.cs
- PropertyInfoSet.cs
- SqlCommand.cs
- PropertyEntry.cs
- ResourceFallbackManager.cs
- DataGridAutoGeneratingColumnEventArgs.cs
- SendActivityEventArgs.cs
- SqlDataSource.cs
- TemplateKeyConverter.cs
- EnvelopedPkcs7.cs
- BindingExpression.cs
- OuterGlowBitmapEffect.cs
- DocumentGridContextMenu.cs
- SimpleMailWebEventProvider.cs
- CustomBindingElementCollection.cs
- SqlDataSourceView.cs
- SettingsAttributes.cs
- DataTrigger.cs
- ListViewDesigner.cs
- UnmanagedMemoryAccessor.cs
- BufferedOutputStream.cs
- ModelTypeConverter.cs
- OleStrCAMarshaler.cs
- BaseAppDomainProtocolHandler.cs
- COM2FontConverter.cs
- Vector3DIndependentAnimationStorage.cs
- StringExpressionSet.cs
- TypeListConverter.cs
- VirtualDirectoryMapping.cs
- ProfileManager.cs
- unsafeIndexingFilterStream.cs
- rsa.cs
- PluralizationServiceUtil.cs
- QilCloneVisitor.cs
- FileVersionInfo.cs
- ObjectReaderCompiler.cs
- SafeLocalMemHandle.cs
- MetadataItemEmitter.cs
- HtmlControl.cs
- wgx_exports.cs
- DataKeyCollection.cs
- StringDictionaryEditor.cs
- SimpleHandlerBuildProvider.cs
- UIElement3D.cs
- TraceUtils.cs
- ConfigPathUtility.cs
- CompressEmulationStream.cs
- Attributes.cs
- KeyInfo.cs
- Policy.cs
- CompensatableTransactionScopeActivityDesigner.cs
- XmlIgnoreAttribute.cs
- TextDecoration.cs
- GZipUtils.cs
- BinaryObjectWriter.cs
- ConfigurationSection.cs
- DefaultTextStore.cs
- ContainerParaClient.cs
- ImportContext.cs
- EncryptedKey.cs
- FrameworkElement.cs
- SrgsRuleRef.cs
- EnterpriseServicesHelper.cs
- DBNull.cs
- CodeThrowExceptionStatement.cs
- RectAnimationClockResource.cs
- DebugView.cs
- EventArgs.cs
- DataGridViewButtonCell.cs
- WebBrowserDocumentCompletedEventHandler.cs
- PauseStoryboard.cs
- ScrollData.cs
- Profiler.cs
- DbParameterHelper.cs
- DataGridColumnHeaderCollection.cs
- pingexception.cs
- ItemList.cs
- ApplicationSecurityInfo.cs
- DockingAttribute.cs
- SystemUdpStatistics.cs
- ProcessProtocolHandler.cs
- _HeaderInfoTable.cs
- XmlSchemaAny.cs
- XmlSchemaNotation.cs
- IsolatedStorageFilePermission.cs
- RequestQueryProcessor.cs
- TypeToArgumentTypeConverter.cs
- COM2TypeInfoProcessor.cs
- CustomPopupPlacement.cs
- DataGridViewCellStyleChangedEventArgs.cs
- WorkflowEnvironment.cs
- TdsRecordBufferSetter.cs
- DecoderFallbackWithFailureFlag.cs
- FontFamily.cs
- EntityDataSourceDataSelectionPanel.cs
- ButtonAutomationPeer.cs
- DesignerTransactionCloseEvent.cs