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
- rsa.cs
- ListParagraph.cs
- ExpanderAutomationPeer.cs
- SafeProcessHandle.cs
- KeysConverter.cs
- FileDialog_Vista_Interop.cs
- KeyPullup.cs
- WindowsListViewGroupHelper.cs
- PeerCollaborationPermission.cs
- HttpRequestCacheValidator.cs
- ServiceOperationParameter.cs
- CreateUserErrorEventArgs.cs
- SkinBuilder.cs
- DurableOperationContext.cs
- RTLAwareMessageBox.cs
- Psha1DerivedKeyGeneratorHelper.cs
- CachedTypeface.cs
- DocumentSequence.cs
- ApplicationServicesHostFactory.cs
- HttpCacheParams.cs
- Utility.cs
- SmiGettersStream.cs
- GenerateTemporaryTargetAssembly.cs
- HGlobalSafeHandle.cs
- ClientProxyGenerator.cs
- LocalTransaction.cs
- CompositeTypefaceMetrics.cs
- FileRegion.cs
- SchemaTypeEmitter.cs
- ToolStripProgressBar.cs
- EncoderReplacementFallback.cs
- TraceUtils.cs
- BasicHttpBinding.cs
- ServiceOperation.cs
- WebEvents.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- SrgsRuleRef.cs
- XmlCompatibilityReader.cs
- DocumentGridContextMenu.cs
- ErrorFormatterPage.cs
- OpenTypeMethods.cs
- ChannelServices.cs
- SchemaType.cs
- ConcurrentBag.cs
- OracleFactory.cs
- TypeInformation.cs
- EntityDesignerUtils.cs
- FullTextState.cs
- AssemblyBuilderData.cs
- ClrProviderManifest.cs
- SqlOuterApplyReducer.cs
- Converter.cs
- XsltException.cs
- PageAsyncTask.cs
- LineServicesRun.cs
- ListControl.cs
- BitmapDownload.cs
- XmlDocumentFieldSchema.cs
- WebPartCollection.cs
- ItemList.cs
- EditorPartCollection.cs
- ExpressionVisitor.cs
- ItemCheckedEvent.cs
- CodeExpressionCollection.cs
- IssuedTokenClientBehaviorsElement.cs
- HttpApplication.cs
- WhitespaceRuleReader.cs
- SafeNativeMethods.cs
- filewebrequest.cs
- PrtTicket_Base.cs
- PrimitiveSchema.cs
- SecurityElement.cs
- FieldDescriptor.cs
- SafeLocalMemHandle.cs
- PropertyGeneratedEventArgs.cs
- PhoneCall.cs
- GenericEnumerator.cs
- ByteAnimationBase.cs
- UIElement3D.cs
- NodeInfo.cs
- DataGridTextBoxColumn.cs
- SHA384Managed.cs
- LiteralControl.cs
- XmlILAnnotation.cs
- DBPropSet.cs
- FlowPosition.cs
- MimePart.cs
- OdbcConnectionStringbuilder.cs
- Point3DAnimationUsingKeyFrames.cs
- DataGridCommandEventArgs.cs
- Token.cs
- FormViewUpdateEventArgs.cs
- TextFormatterImp.cs
- DragEventArgs.cs
- xdrvalidator.cs
- InvokeWebServiceDesigner.cs
- AdapterUtil.cs
- JavaScriptSerializer.cs
- Util.cs
- StringToken.cs