Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- TypeDescriptor.cs
- SqlNotificationEventArgs.cs
- unsafeIndexingFilterStream.cs
- Zone.cs
- ToolStripPanelCell.cs
- TypePropertyEditor.cs
- EnumUnknown.cs
- SelectionHighlightInfo.cs
- ExtractorMetadata.cs
- PanelDesigner.cs
- JsonSerializer.cs
- RequestCache.cs
- WebControlToolBoxItem.cs
- StackOverflowException.cs
- SharedDp.cs
- AsymmetricAlgorithm.cs
- MailWriter.cs
- SystemResources.cs
- ReachPageContentSerializerAsync.cs
- hwndwrapper.cs
- MissingSatelliteAssemblyException.cs
- UseLicense.cs
- MediaEntryAttribute.cs
- SRDisplayNameAttribute.cs
- WebMessageEncoderFactory.cs
- WebSysDescriptionAttribute.cs
- _ListenerAsyncResult.cs
- TextStore.cs
- GridViewColumnHeaderAutomationPeer.cs
- MultiAsyncResult.cs
- QueryContinueDragEvent.cs
- _PooledStream.cs
- SqlConnectionManager.cs
- sitestring.cs
- RuleSetBrowserDialog.cs
- Quaternion.cs
- TopClause.cs
- ToolStripLabel.cs
- InvalidOleVariantTypeException.cs
- ChangePassword.cs
- Animatable.cs
- XPathAncestorQuery.cs
- DebugView.cs
- TextParagraphProperties.cs
- LocatorGroup.cs
- SchemaLookupTable.cs
- CompleteWizardStep.cs
- OleDbStruct.cs
- WpfKnownTypeInvoker.cs
- StringSource.cs
- DbBuffer.cs
- XmlSchemaAnnotation.cs
- DataGridItemCollection.cs
- _SecureChannel.cs
- ModelPropertyDescriptor.cs
- CqlIdentifiers.cs
- Line.cs
- SpeechRecognizer.cs
- HijriCalendar.cs
- IArgumentProvider.cs
- SqlBinder.cs
- PipelineModuleStepContainer.cs
- RectValueSerializer.cs
- ParallelEnumerable.cs
- HttpValueCollection.cs
- _CommandStream.cs
- StylusPlugin.cs
- DataObjectPastingEventArgs.cs
- SystemThemeKey.cs
- DBConcurrencyException.cs
- ipaddressinformationcollection.cs
- TrustLevelCollection.cs
- LabelLiteral.cs
- BamlCollectionHolder.cs
- MulticastNotSupportedException.cs
- IdleTimeoutMonitor.cs
- SqlResolver.cs
- FixedDSBuilder.cs
- XmlName.cs
- EncryptedType.cs
- Policy.cs
- LoginUtil.cs
- HandlerBase.cs
- PointLight.cs
- SecurityChannelFaultConverter.cs
- DataGridColumnReorderingEventArgs.cs
- DesignerCategoryAttribute.cs
- OperatingSystemVersionCheck.cs
- ScrollEventArgs.cs
- RawKeyboardInputReport.cs
- ListDictionaryInternal.cs
- NetStream.cs
- FontDriver.cs
- ErrorProvider.cs
- Attachment.cs
- PropertyNames.cs
- DataError.cs
- XmlLanguageConverter.cs
- SoapSchemaMember.cs
- TargetControlTypeCache.cs