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
- ReferencedAssemblyResolver.cs
- _HeaderInfoTable.cs
- Keywords.cs
- XmlSchemaSimpleContentRestriction.cs
- MetadataItemEmitter.cs
- ProviderConnectionPoint.cs
- PrtTicket_Base.cs
- BitStack.cs
- Schema.cs
- Region.cs
- GridItem.cs
- RIPEMD160Managed.cs
- BezierSegment.cs
- SettingsPropertyIsReadOnlyException.cs
- PhysicalAddress.cs
- SqlMethodCallConverter.cs
- TailPinnedEventArgs.cs
- BaseDataBoundControl.cs
- SqlUserDefinedAggregateAttribute.cs
- SqlConnectionFactory.cs
- GridView.cs
- SignedPkcs7.cs
- TableRow.cs
- Query.cs
- ListItemConverter.cs
- HttpCachePolicyBase.cs
- TraceListeners.cs
- GatewayIPAddressInformationCollection.cs
- TrackingMemoryStream.cs
- SqlDataSourceStatusEventArgs.cs
- Pair.cs
- ByteStreamGeometryContext.cs
- RowUpdatedEventArgs.cs
- BrowserCapabilitiesCodeGenerator.cs
- ActivatedMessageQueue.cs
- sqlser.cs
- codemethodreferenceexpression.cs
- StateRuntime.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- RecipientInfo.cs
- SeekableReadStream.cs
- OraclePermissionAttribute.cs
- FilterException.cs
- WebScriptMetadataMessageEncoderFactory.cs
- TableCellsCollectionEditor.cs
- HybridDictionary.cs
- Missing.cs
- querybuilder.cs
- BaseInfoTable.cs
- SyndicationItem.cs
- StreamingContext.cs
- RC2.cs
- UnsafeNativeMethods.cs
- _UriSyntax.cs
- BindingObserver.cs
- QilUnary.cs
- ObjectContext.cs
- DoubleAnimation.cs
- SmiRequestExecutor.cs
- DynamicDataRouteHandler.cs
- XPathArrayIterator.cs
- ServiceObjectContainer.cs
- UMPAttributes.cs
- StateItem.cs
- _TLSstream.cs
- TracePayload.cs
- InputBindingCollection.cs
- PropertyMap.cs
- OleAutBinder.cs
- ConcatQueryOperator.cs
- ConfigXmlComment.cs
- MatchAttribute.cs
- HtmlShim.cs
- WindowsListViewItemCheckBox.cs
- StateRuntime.cs
- HtmlHead.cs
- CryptoProvider.cs
- ReadOnlyDataSourceView.cs
- DocumentPageView.cs
- OutputChannelBinder.cs
- ScriptingRoleServiceSection.cs
- FileDialog.cs
- DynamicValueConverter.cs
- DynamicQueryableWrapper.cs
- XmlMapping.cs
- Command.cs
- GeneralTransform2DTo3DTo2D.cs
- LongPath.cs
- RequiredAttributeAttribute.cs
- EventInfo.cs
- CommonRemoteMemoryBlock.cs
- MissingFieldException.cs
- Geometry.cs
- ListViewAutomationPeer.cs
- ProxyHwnd.cs
- XamlPathDataSerializer.cs
- TypeUsageBuilder.cs
- ExpressionParser.cs
- SqlFacetAttribute.cs
- FragmentNavigationEventArgs.cs