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
- DataServiceProcessingPipeline.cs
- SelectedDatesCollection.cs
- XmlSchemaIdentityConstraint.cs
- TextHidden.cs
- UnsafeNativeMethods.cs
- SequentialWorkflowHeaderFooter.cs
- TextSchema.cs
- SqlDataSourceCommandEventArgs.cs
- CornerRadiusConverter.cs
- DataGridViewColumnDesigner.cs
- _NegotiateClient.cs
- DataGridViewButtonCell.cs
- DataListItem.cs
- DataControlCommands.cs
- ComboBoxAutomationPeer.cs
- CommandBinding.cs
- BamlLocalizableResourceKey.cs
- SqlCommandSet.cs
- LinqDataSourceView.cs
- TdsParserStaticMethods.cs
- GcHandle.cs
- MailSettingsSection.cs
- HtmlInputSubmit.cs
- EntityDataSourceView.cs
- SafeNativeMethods.cs
- FileStream.cs
- DataGridViewDataErrorEventArgs.cs
- FormsAuthenticationModule.cs
- SynchronizedPool.cs
- FrameworkElement.cs
- ExpandCollapsePattern.cs
- DataBindEngine.cs
- KoreanLunisolarCalendar.cs
- Operand.cs
- ReflectionHelper.cs
- ContextMenuStripGroupCollection.cs
- EasingKeyFrames.cs
- MaterialGroup.cs
- StrokeNode.cs
- DictionaryItemsCollection.cs
- Emitter.cs
- ToolStripSettings.cs
- ValuePattern.cs
- ControlParameter.cs
- HTMLTagNameToTypeMapper.cs
- PointUtil.cs
- CounterCreationDataCollection.cs
- StyleBamlTreeBuilder.cs
- ThousandthOfEmRealPoints.cs
- XmlAtomicValue.cs
- LassoHelper.cs
- DbDataAdapter.cs
- JsonWriter.cs
- SmiGettersStream.cs
- ViewGenResults.cs
- ClientData.cs
- ScrollItemPatternIdentifiers.cs
- X509Certificate.cs
- StyleSheetRefUrlEditor.cs
- RegexWriter.cs
- Util.cs
- ObjectTypeMapping.cs
- XmlSchemaSearchPattern.cs
- ResourceExpressionBuilder.cs
- VersionConverter.cs
- KnownIds.cs
- TextBoxBase.cs
- ReliableSessionElement.cs
- FixedSOMTableRow.cs
- OrderedDictionary.cs
- XmlEncodedRawTextWriter.cs
- EFColumnProvider.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- DataMemberConverter.cs
- ToolStripDesignerAvailabilityAttribute.cs
- ProtocolElement.cs
- AppPool.cs
- XmlNodeComparer.cs
- AnnotationHighlightLayer.cs
- SingleResultAttribute.cs
- DocumentOutline.cs
- Wildcard.cs
- MemberRestriction.cs
- ComponentGuaranteesAttribute.cs
- XamlBrushSerializer.cs
- TextEditorSpelling.cs
- CaseStatement.cs
- HitTestWithPointDrawingContextWalker.cs
- CapabilitiesState.cs
- ServiceOperationInfoTypeConverter.cs
- DragCompletedEventArgs.cs
- CharacterString.cs
- ColorPalette.cs
- SuspendDesigner.cs
- DesignerAdapterAttribute.cs
- PropertyFilterAttribute.cs
- HtmlProps.cs
- ConfigXmlComment.cs
- IssuerInformation.cs
- AnnotationComponentChooser.cs