Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- DiscreteKeyFrames.cs
- HashHelper.cs
- RawStylusInputCustomDataList.cs
- SystemPens.cs
- PolyQuadraticBezierSegmentFigureLogic.cs
- PipeSecurity.cs
- DataBinding.cs
- SqlCrossApplyToCrossJoin.cs
- CodeChecksumPragma.cs
- DeviceOverridableAttribute.cs
- IERequestCache.cs
- SQLInt32.cs
- XmlDictionaryReaderQuotas.cs
- UIPermission.cs
- ExtenderControl.cs
- BamlLocalizableResourceKey.cs
- FileDialogPermission.cs
- FixedPageStructure.cs
- TypeSource.cs
- EffectiveValueEntry.cs
- ContainerFilterService.cs
- ReadWriteObjectLock.cs
- TwoPhaseCommitProxy.cs
- Menu.cs
- ColumnHeaderConverter.cs
- HwndSourceKeyboardInputSite.cs
- QualifiedCellIdBoolean.cs
- ServiceChannelFactory.cs
- HandlerBase.cs
- SqlDataAdapter.cs
- UIntPtr.cs
- XmlLanguage.cs
- ExpressionConverter.cs
- DelegatedStream.cs
- ValidationPropertyAttribute.cs
- PersonalizationStateInfoCollection.cs
- ConvertBinder.cs
- NetSectionGroup.cs
- Gdiplus.cs
- CqlBlock.cs
- SoapConverter.cs
- ByteRangeDownloader.cs
- Span.cs
- UpdatePanelControlTrigger.cs
- CopyNamespacesAction.cs
- PeerName.cs
- WCFServiceClientProxyGenerator.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- SemanticResultKey.cs
- MethodAccessException.cs
- QilName.cs
- BookmarkTable.cs
- CreateUserWizard.cs
- OpCodes.cs
- CssTextWriter.cs
- PageFunction.cs
- FlowDocumentPageViewerAutomationPeer.cs
- TraceContextEventArgs.cs
- DataGridViewSelectedRowCollection.cs
- EditorPart.cs
- SqlProfileProvider.cs
- X509Certificate.cs
- KnownColorTable.cs
- HitTestFilterBehavior.cs
- CodeDomComponentSerializationService.cs
- HMAC.cs
- LoginView.cs
- ArgumentNullException.cs
- DelegatingTypeDescriptionProvider.cs
- WsdlWriter.cs
- DocumentDesigner.cs
- SqlGenericUtil.cs
- basevalidator.cs
- MouseDevice.cs
- HuffModule.cs
- PerformanceCounterCategory.cs
- IntegerValidator.cs
- LinqDataSourceContextEventArgs.cs
- BufferedWebEventProvider.cs
- CommandSet.cs
- ChannelSettingsElement.cs
- BrowserCapabilitiesCompiler.cs
- CounterSet.cs
- _NestedMultipleAsyncResult.cs
- DictionarySectionHandler.cs
- StatusBar.cs
- ServiceBehaviorElement.cs
- SqlInfoMessageEvent.cs
- OracleDateTime.cs
- XpsPackagingPolicy.cs
- TypedTableBase.cs
- FunctionDescription.cs
- DataListCommandEventArgs.cs
- TransactionInformation.cs
- XamlFilter.cs
- RuntimeWrappedException.cs
- IntegerValidatorAttribute.cs
- NullableLongAverageAggregationOperator.cs
- XmlSchemaInferenceException.cs
- HierarchicalDataTemplate.cs