Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ADRoleFactory.cs
- ToolBarButtonClickEvent.cs
- BinaryParser.cs
- Metadata.cs
- DeferredSelectedIndexReference.cs
- ViewStateException.cs
- ScriptingAuthenticationServiceSection.cs
- SpecularMaterial.cs
- AutoGeneratedField.cs
- TimeEnumHelper.cs
- TemplatedMailWebEventProvider.cs
- WsdlHelpGeneratorElement.cs
- FocusTracker.cs
- _Rfc2616CacheValidators.cs
- Utils.cs
- RC2.cs
- IPGlobalProperties.cs
- DbProviderFactories.cs
- CellConstant.cs
- WebException.cs
- ToolStripStatusLabel.cs
- CancellationHandlerDesigner.cs
- VariableQuery.cs
- ColorConverter.cs
- AutomationProperty.cs
- TextRange.cs
- EntitySqlQueryBuilder.cs
- COM2ExtendedTypeConverter.cs
- MonthChangedEventArgs.cs
- DynamicMethod.cs
- Cursors.cs
- CodeGenerationManager.cs
- StrokeRenderer.cs
- XmlAttributeOverrides.cs
- MaskPropertyEditor.cs
- PropertyTabChangedEvent.cs
- InkPresenter.cs
- ValidationUtility.cs
- DbParameterCollection.cs
- PrintPreviewGraphics.cs
- ElementUtil.cs
- ArglessEventHandlerProxy.cs
- BitmapCodecInfoInternal.cs
- ValueTypeFixupInfo.cs
- TableColumn.cs
- ShaperBuffers.cs
- ServicesUtilities.cs
- TransactionTable.cs
- SimpleLine.cs
- WebSysDescriptionAttribute.cs
- DifferencingCollection.cs
- DataGridViewTopLeftHeaderCell.cs
- _HelperAsyncResults.cs
- LinqDataSourceDeleteEventArgs.cs
- TextEditorTyping.cs
- WebPartManager.cs
- GrammarBuilderBase.cs
- HealthMonitoringSectionHelper.cs
- WorkflowMarkupSerializerMapping.cs
- PropertyGeneratedEventArgs.cs
- QueryExpr.cs
- WindowsTitleBar.cs
- BitmapImage.cs
- GetPageNumberCompletedEventArgs.cs
- EventDriven.cs
- FakeModelPropertyImpl.cs
- FontCacheLogic.cs
- TraceUtils.cs
- SymbolType.cs
- OdbcConnectionStringbuilder.cs
- WebPartConnectionsDisconnectVerb.cs
- RoleGroup.cs
- DecoratedNameAttribute.cs
- cookieexception.cs
- SqlServices.cs
- Bits.cs
- List.cs
- RepeaterCommandEventArgs.cs
- ConnectionInterfaceCollection.cs
- IntranetCredentialPolicy.cs
- VisualBrush.cs
- SiteMapHierarchicalDataSourceView.cs
- DataServiceQueryException.cs
- CodePrimitiveExpression.cs
- WindowsListViewGroupSubsetLink.cs
- NonVisualControlAttribute.cs
- WebConvert.cs
- CustomExpression.cs
- ConditionValidator.cs
- DbgUtil.cs
- CheckBoxFlatAdapter.cs
- ProfilePropertySettings.cs
- StringBuilder.cs
- IIS7WorkerRequest.cs
- FreezableDefaultValueFactory.cs
- ServiceOperationParameter.cs
- QueryConverter.cs
- Formatter.cs
- SqlErrorCollection.cs
- TextUtf8RawTextWriter.cs