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
- SmiContext.cs
- FormsAuthenticationModule.cs
- BitmapImage.cs
- ObjectQueryExecutionPlan.cs
- datacache.cs
- SequentialActivityDesigner.cs
- Size3DValueSerializer.cs
- TraceLevelHelper.cs
- ParameterCollectionEditorForm.cs
- EmptyControlCollection.cs
- EditorAttribute.cs
- DataColumn.cs
- StaticTextPointer.cs
- DisableDpiAwarenessAttribute.cs
- SubMenuStyle.cs
- EventDrivenDesigner.cs
- HostingEnvironment.cs
- WebPartEditVerb.cs
- SpeechAudioFormatInfo.cs
- FontFaceLayoutInfo.cs
- NativeMethodsOther.cs
- WebBrowserUriTypeConverter.cs
- StubHelpers.cs
- InvalidComObjectException.cs
- Transform.cs
- ReadContentAsBinaryHelper.cs
- ZeroOpNode.cs
- RefreshPropertiesAttribute.cs
- UserThread.cs
- WindowsAltTab.cs
- remotingproxy.cs
- Axis.cs
- StagingAreaInputItem.cs
- LabelEditEvent.cs
- NameNode.cs
- CompositeFontInfo.cs
- HtmlElementEventArgs.cs
- ObjectItemConventionAssemblyLoader.cs
- SmiContext.cs
- Size3D.cs
- MenuItem.cs
- DummyDataSource.cs
- LocalIdKeyIdentifierClause.cs
- NullableFloatAverageAggregationOperator.cs
- SQlBooleanStorage.cs
- ColumnWidthChangedEvent.cs
- AsymmetricAlgorithm.cs
- FrameworkElementFactoryMarkupObject.cs
- MessageLoggingFilterTraceRecord.cs
- CodeLinePragma.cs
- TextFindEngine.cs
- XpsFixedDocumentSequenceReaderWriter.cs
- RepeaterItemEventArgs.cs
- ADMembershipUser.cs
- ConnectivityStatus.cs
- AssemblyResolver.cs
- OverloadGroupAttribute.cs
- ProtocolReflector.cs
- PropertyFilterAttribute.cs
- DataSvcMapFile.cs
- TransformerConfigurationWizardBase.cs
- AnimatedTypeHelpers.cs
- OrderingExpression.cs
- OdbcFactory.cs
- BamlCollectionHolder.cs
- PropertyChange.cs
- PrimitiveSchema.cs
- ConfigurationFileMap.cs
- ListBoxItemAutomationPeer.cs
- HtmlImage.cs
- GB18030Encoding.cs
- TypeExtension.cs
- SqlProfileProvider.cs
- SiteMapSection.cs
- PenContext.cs
- GridProviderWrapper.cs
- String.cs
- ProfilePropertyNameValidator.cs
- StylusLogic.cs
- StreamWriter.cs
- LiteralControl.cs
- UntrustedRecipientException.cs
- CompositeActivityTypeDescriptorProvider.cs
- HtmlInputFile.cs
- FamilyCollection.cs
- BaseResourcesBuildProvider.cs
- ObjectViewFactory.cs
- AttributeParameterInfo.cs
- WebColorConverter.cs
- HandleRef.cs
- RecordManager.cs
- TextRange.cs
- CfgParser.cs
- MessageSmuggler.cs
- ListControlConvertEventArgs.cs
- DecimalKeyFrameCollection.cs
- TimerEventSubscriptionCollection.cs
- WebPartRestoreVerb.cs
- DesignerSerializerAttribute.cs
- FrameworkRichTextComposition.cs