Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- Control.cs
- AssemblyUtil.cs
- ButtonChrome.cs
- Configuration.cs
- PageOutputQuality.cs
- CustomSignedXml.cs
- XmlSerializationGeneratedCode.cs
- FontSource.cs
- PropertyRecord.cs
- TextEditorTyping.cs
- JsonUriDataContract.cs
- SiteOfOriginPart.cs
- SmiGettersStream.cs
- CultureInfoConverter.cs
- AssemblyNameUtility.cs
- FieldNameLookup.cs
- ConnectionPointGlyph.cs
- DelayDesigner.cs
- AuthStoreRoleProvider.cs
- SourceFileBuildProvider.cs
- ValueProviderWrapper.cs
- HttpFileCollection.cs
- PropertyInformationCollection.cs
- ShadowGlyph.cs
- View.cs
- MachineKey.cs
- ClientUtils.cs
- CombinedGeometry.cs
- TextBlockAutomationPeer.cs
- UIElementAutomationPeer.cs
- Vector3DKeyFrameCollection.cs
- MemoryPressure.cs
- ChannelSinkStacks.cs
- AuthenticationModuleElement.cs
- ScrollBar.cs
- ReadOnlyDataSource.cs
- ProxyWebPartManager.cs
- PrivateUnsafeNativeCompoundFileMethods.cs
- RightsManagementInformation.cs
- TextBlock.cs
- XmlReader.cs
- PackageRelationship.cs
- ListSourceHelper.cs
- DataMisalignedException.cs
- SchemaConstraints.cs
- SourceSwitch.cs
- TargetException.cs
- HTMLTagNameToTypeMapper.cs
- UpdateProgress.cs
- ContentValidator.cs
- ReadOnlyDataSource.cs
- Types.cs
- DebuggerAttributes.cs
- WindowsRegion.cs
- InvalidEnumArgumentException.cs
- HttpRawResponse.cs
- IisTraceWebEventProvider.cs
- Button.cs
- SamlDelegatingWriter.cs
- FontResourceCache.cs
- TextEndOfParagraph.cs
- ConfigurationValue.cs
- XmlToDatasetMap.cs
- ping.cs
- _SecureChannel.cs
- MemberInfoSerializationHolder.cs
- SqlEnums.cs
- FloaterBaseParagraph.cs
- DependencyObjectProvider.cs
- PropertyManager.cs
- WinFormsComponentEditor.cs
- EndPoint.cs
- ClientApiGenerator.cs
- NTAccount.cs
- DiscoveryReference.cs
- ToolStripArrowRenderEventArgs.cs
- TreeNodeCollection.cs
- OverflowException.cs
- XsltInput.cs
- HTTPRemotingHandler.cs
- EmissiveMaterial.cs
- FreezableCollection.cs
- ListViewDeletedEventArgs.cs
- SlotInfo.cs
- StructuralObject.cs
- CodeObject.cs
- QuotedStringFormatReader.cs
- XNodeNavigator.cs
- UpdateTracker.cs
- TransformCryptoHandle.cs
- DeferredReference.cs
- GlobalizationAssembly.cs
- RequiredAttributeAttribute.cs
- ConnectionsZone.cs
- XmlSchemaGroup.cs
- VisualCollection.cs
- iisPickupDirectory.cs
- ValidatorCollection.cs
- DataGridRow.cs
- AttachedPropertyInfo.cs