Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IO / PathTooLongException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- ClockGroup.cs
- FixedDocumentPaginator.cs
- DashStyle.cs
- SqlNodeTypeOperators.cs
- CryptographicAttribute.cs
- TransformConverter.cs
- ActivityCodeDomSerializer.cs
- QueryOutputWriterV1.cs
- ThicknessConverter.cs
- ContextStaticAttribute.cs
- ProfileInfo.cs
- NavigationEventArgs.cs
- InstanceOwnerException.cs
- QilGeneratorEnv.cs
- XmlDataDocument.cs
- FrameworkTemplate.cs
- XmlWriter.cs
- TrimSurroundingWhitespaceAttribute.cs
- UidManager.cs
- SharedStatics.cs
- Vertex.cs
- PageSetupDialog.cs
- ActiveXHost.cs
- SpeechRecognitionEngine.cs
- XPathSelfQuery.cs
- PixelShader.cs
- LoginName.cs
- FontStretches.cs
- PartialTrustVisibleAssembly.cs
- TextTreeTextElementNode.cs
- xamlnodes.cs
- TextRenderer.cs
- NumberFunctions.cs
- GradientBrush.cs
- NetCodeGroup.cs
- Scene3D.cs
- ConnectionProviderAttribute.cs
- RSACryptoServiceProvider.cs
- ClientTarget.cs
- TextEditor.cs
- BrowserCapabilitiesCompiler.cs
- ResourcePool.cs
- ShaperBuffers.cs
- DelegatingTypeDescriptionProvider.cs
- HtmlControl.cs
- AvTraceFormat.cs
- ByteArrayHelperWithString.cs
- XmlWellformedWriterHelpers.cs
- DefaultValueConverter.cs
- RegularExpressionValidator.cs
- GridViewSelectEventArgs.cs
- RawUIStateInputReport.cs
- GetPageCompletedEventArgs.cs
- ProjectionNode.cs
- C14NUtil.cs
- SecureEnvironment.cs
- XmlSchemaSimpleTypeUnion.cs
- XsdValidatingReader.cs
- CustomPopupPlacement.cs
- WebRequestModulesSection.cs
- WsdlImporterElementCollection.cs
- BridgeDataRecord.cs
- RichTextBox.cs
- SliderAutomationPeer.cs
- SystemIdentity.cs
- WorkBatch.cs
- CompressionTransform.cs
- AppDomain.cs
- UIElement3DAutomationPeer.cs
- Compiler.cs
- ForeignKeyFactory.cs
- TextTreeInsertUndoUnit.cs
- PersonalizablePropertyEntry.cs
- DocumentPageView.cs
- CodeObjectCreateExpression.cs
- ReaderContextStackData.cs
- XmlToDatasetMap.cs
- DataGridSortCommandEventArgs.cs
- complextypematerializer.cs
- ReadWriteSpinLock.cs
- ShaderEffect.cs
- DebuggerAttributes.cs
- Trace.cs
- WorkflowItemsPresenter.cs
- XNameTypeConverter.cs
- RelationshipNavigation.cs
- SignedXml.cs
- CodeNamespace.cs
- Label.cs
- LeftCellWrapper.cs
- PlainXmlWriter.cs
- TrackBar.cs
- CallContext.cs
- DataGridViewRow.cs
- DecimalAnimationUsingKeyFrames.cs
- Pipe.cs
- ImmutableCommunicationTimeouts.cs
- ProfilePropertySettingsCollection.cs
- x509utils.cs
- Int16.cs