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
- FloaterParaClient.cs
- AudioFileOut.cs
- XNodeValidator.cs
- TransactionContext.cs
- XamlStyleSerializer.cs
- XmlSchemaSubstitutionGroup.cs
- StringSorter.cs
- MDIWindowDialog.cs
- TextBlock.cs
- BrushValueSerializer.cs
- WhiteSpaceTrimStringConverter.cs
- AssemblyAttributesGoHere.cs
- ErrorHandlerModule.cs
- TextTreeText.cs
- ReceiveActivityValidator.cs
- ProviderIncompatibleException.cs
- CachingHintValidation.cs
- UriTemplateTable.cs
- InputBinding.cs
- JsonCollectionDataContract.cs
- FormClosingEvent.cs
- ToolStripDropTargetManager.cs
- NameValueConfigurationElement.cs
- Propagator.JoinPropagator.SubstitutingCloneVisitor.cs
- ProxyFragment.cs
- Point3DCollection.cs
- ProfileModule.cs
- ThreadStaticAttribute.cs
- RegexReplacement.cs
- FixedPosition.cs
- SecurityElement.cs
- IncrementalCompileAnalyzer.cs
- MsmqHostedTransportManager.cs
- CollectionChange.cs
- ValidationSummary.cs
- KeyValuePair.cs
- sqlinternaltransaction.cs
- EntityDataReader.cs
- IPEndPoint.cs
- safex509handles.cs
- WindowsListViewGroup.cs
- XPathQilFactory.cs
- Inline.cs
- ScriptControl.cs
- CachedResourceDictionaryExtension.cs
- DataBinder.cs
- Oid.cs
- SqlException.cs
- TextDecorationCollection.cs
- DataDocumentXPathNavigator.cs
- AuthenticationException.cs
- DynamicPhysicalDiscoSearcher.cs
- Select.cs
- PeerDefaultCustomResolverClient.cs
- ListViewUpdatedEventArgs.cs
- TreeNodeBinding.cs
- TextRangeAdaptor.cs
- SslStream.cs
- TextSerializer.cs
- EntityDataSourceUtil.cs
- CopyNamespacesAction.cs
- KeyFrames.cs
- OleDbEnumerator.cs
- TypeInitializationException.cs
- CqlLexerHelpers.cs
- XPathEmptyIterator.cs
- MsmqChannelFactoryBase.cs
- SessionSwitchEventArgs.cs
- IPEndPointCollection.cs
- translator.cs
- DataServiceRequestArgs.cs
- ContentPlaceHolder.cs
- PropertyReferenceSerializer.cs
- SQLBoolean.cs
- ZeroOpNode.cs
- TransformerInfoCollection.cs
- AssemblySettingAttributes.cs
- SecurityDescriptor.cs
- AssemblyNameProxy.cs
- XsdBuilder.cs
- SafeEventLogReadHandle.cs
- MappingMetadataHelper.cs
- PackageDigitalSignatureManager.cs
- EntitySqlQueryCacheEntry.cs
- DBConcurrencyException.cs
- BamlRecordWriter.cs
- Annotation.cs
- CacheRequest.cs
- HttpSessionStateWrapper.cs
- DoubleLinkList.cs
- HttpsChannelFactory.cs
- WsdlBuildProvider.cs
- DocumentPage.cs
- DataGridViewCell.cs
- StackSpiller.cs
- TableLayoutPanel.cs
- XmlCDATASection.cs
- XmlAnyAttributeAttribute.cs
- SharedHttpTransportManager.cs
- SerializationTrace.cs