Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- PrimitiveCodeDomSerializer.cs
- Codec.cs
- ClientFormsIdentity.cs
- EncryptedReference.cs
- SQLMembershipProvider.cs
- SHA512Cng.cs
- Frame.cs
- Maps.cs
- MorphHelper.cs
- GridLengthConverter.cs
- DiscoveryViaBehavior.cs
- StaticExtensionConverter.cs
- InvariantComparer.cs
- EventLogPermissionEntryCollection.cs
- SafeHandles.cs
- Model3D.cs
- InternalBase.cs
- DiscoveryMessageSequenceGenerator.cs
- sqlnorm.cs
- DataGridViewCellCollection.cs
- TraceSwitch.cs
- ProfileGroupSettings.cs
- ScalarConstant.cs
- SecurityStandardsManager.cs
- Literal.cs
- PbrsForward.cs
- WaitForChangedResult.cs
- OrderingExpression.cs
- Condition.cs
- OrthographicCamera.cs
- BindingParameterCollection.cs
- ContainsRowNumberChecker.cs
- ProviderCollection.cs
- UdpTransportBindingElement.cs
- RijndaelCryptoServiceProvider.cs
- ExtendedPropertiesHandler.cs
- UnaryOperationBinder.cs
- UnknownBitmapEncoder.cs
- StreamWriter.cs
- Timer.cs
- WebCodeGenerator.cs
- FlowDocumentPageViewerAutomationPeer.cs
- ScopeElementCollection.cs
- TemplateLookupAction.cs
- DBSchemaTable.cs
- DynamicDataManager.cs
- SpeechRecognitionEngine.cs
- SelectedGridItemChangedEvent.cs
- DNS.cs
- ObjectNavigationPropertyMapping.cs
- CodeDelegateInvokeExpression.cs
- SchemaSetCompiler.cs
- Oid.cs
- CharacterBufferReference.cs
- ISessionStateStore.cs
- DateTimeStorage.cs
- ReflectEventDescriptor.cs
- ProcessHostMapPath.cs
- DocumentPaginator.cs
- KnownTypeAttribute.cs
- TextElementAutomationPeer.cs
- HttpRequestWrapper.cs
- StylusSystemGestureEventArgs.cs
- SafeSecurityHelper.cs
- AnnotationHighlightLayer.cs
- ImageFormat.cs
- AppSecurityManager.cs
- SrgsNameValueTag.cs
- _ConnectionGroup.cs
- SplitterEvent.cs
- SinglePageViewer.cs
- XappLauncher.cs
- ConnectionsZone.cs
- DurableEnlistmentState.cs
- HashFinalRequest.cs
- WsatEtwTraceListener.cs
- SymLanguageType.cs
- UserMapPath.cs
- DocumentEventArgs.cs
- DbTypeMap.cs
- UpWmlMobileTextWriter.cs
- UrlPropertyAttribute.cs
- Int32EqualityComparer.cs
- DiagnosticsConfiguration.cs
- BitmapEffectGroup.cs
- StorageComplexPropertyMapping.cs
- OrderedDictionary.cs
- XmlDataContract.cs
- SafeSecurityHelper.cs
- BrowserTree.cs
- ExportOptions.cs
- UnSafeCharBuffer.cs
- Operators.cs
- WebProxyScriptElement.cs
- _LoggingObject.cs
- XmlException.cs
- WebEvents.cs
- RectAnimation.cs
- LinkConverter.cs
- ConfigurationSection.cs