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
- ToolStripOverflow.cs
- SafeEventHandle.cs
- CorePropertiesFilter.cs
- ImageSource.cs
- SimpleHandlerBuildProvider.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- WebPartConnectionsDisconnectVerb.cs
- HwndSubclass.cs
- SqlStream.cs
- TemplateBindingExtensionConverter.cs
- ValidationSummary.cs
- XmlQueryOutput.cs
- KeyValuePairs.cs
- ConnectionInterfaceCollection.cs
- OuterGlowBitmapEffect.cs
- HostedTcpTransportManager.cs
- OpenTypeCommon.cs
- MissingMemberException.cs
- QueryContinueDragEvent.cs
- SimpleType.cs
- __ComObject.cs
- CheckBox.cs
- RefExpr.cs
- OperationParameterInfo.cs
- HtmlShimManager.cs
- ToolStripItemTextRenderEventArgs.cs
- ApplicationId.cs
- Annotation.cs
- FileSystemWatcher.cs
- ReversePositionQuery.cs
- MetabaseServerConfig.cs
- SQLSingleStorage.cs
- Thumb.cs
- ThicknessKeyFrameCollection.cs
- SqlDataSourceView.cs
- InteropBitmapSource.cs
- WorkflowApplicationException.cs
- CollectionDataContract.cs
- XmlSchemaDatatype.cs
- ProcessModelInfo.cs
- ControlEvent.cs
- XmlArrayAttribute.cs
- PropertyRef.cs
- SystemFonts.cs
- TypeGenericEnumerableViewSchema.cs
- XmlSchemaInfo.cs
- QuaternionValueSerializer.cs
- ComboBoxRenderer.cs
- KeyInterop.cs
- AppDomainProtocolHandler.cs
- XmlHierarchicalEnumerable.cs
- Baml2006KnownTypes.cs
- IRCollection.cs
- PrimitiveSchema.cs
- Calendar.cs
- ZoneLinkButton.cs
- CodeStatement.cs
- DateTimeValueSerializer.cs
- ParameterModifier.cs
- ObjectConverter.cs
- DataGridViewRowCancelEventArgs.cs
- BatchServiceHost.cs
- TraceSwitch.cs
- SkinBuilder.cs
- WorkflowMarkupSerializationProvider.cs
- MemberInfoSerializationHolder.cs
- ThaiBuddhistCalendar.cs
- XmlHelper.cs
- MimeXmlImporter.cs
- ErrorWebPart.cs
- UrlUtility.cs
- EditorPartCollection.cs
- GridViewCommandEventArgs.cs
- StringOutput.cs
- DetailsViewRowCollection.cs
- TreeNodeCollection.cs
- SQLInt16.cs
- ManagedWndProcTracker.cs
- WindowsSolidBrush.cs
- BoundColumn.cs
- ApplicationTrust.cs
- SmtpAuthenticationManager.cs
- TextFormatterContext.cs
- PlatformCulture.cs
- ParameterReplacerVisitor.cs
- TraceSource.cs
- PerfProviderCollection.cs
- HtmlTableRowCollection.cs
- PersistChildrenAttribute.cs
- ColorTypeConverter.cs
- Menu.cs
- DataControlButton.cs
- SortedDictionary.cs
- InstancePersistenceContext.cs
- LicenseContext.cs
- WebPartHeaderCloseVerb.cs
- InputLanguageEventArgs.cs
- HtmlHistory.cs
- ImageListUtils.cs
- AssertHelper.cs