Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / clr / src / BCL / System / IO / EndOfStreamException.cs / 1 / EndOfStreamException.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== /*============================================================ ** ** Class: EndOfStreamException ** ** ** Purpose: Exception to be thrown when reading past end-of-file. ** ** ===========================================================*/ using System; using System.Runtime.Serialization; namespace System.IO { [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class EndOfStreamException : IOException { public EndOfStreamException() : base(Environment.GetResourceString("Arg_EndOfStreamException")) { SetErrorCode(__HResults.COR_E_ENDOFSTREAM); } public EndOfStreamException(String message) : base(message) { SetErrorCode(__HResults.COR_E_ENDOFSTREAM); } public EndOfStreamException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_ENDOFSTREAM); } protected EndOfStreamException(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: EndOfStreamException ** ** ** Purpose: Exception to be thrown when reading past end-of-file. ** ** ===========================================================*/ using System; using System.Runtime.Serialization; namespace System.IO { [Serializable] [System.Runtime.InteropServices.ComVisible(true)] public class EndOfStreamException : IOException { public EndOfStreamException() : base(Environment.GetResourceString("Arg_EndOfStreamException")) { SetErrorCode(__HResults.COR_E_ENDOFSTREAM); } public EndOfStreamException(String message) : base(message) { SetErrorCode(__HResults.COR_E_ENDOFSTREAM); } public EndOfStreamException(String message, Exception innerException) : base(message, innerException) { SetErrorCode(__HResults.COR_E_ENDOFSTREAM); } protected EndOfStreamException(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
- TextAction.cs
- TreeNode.cs
- SettingsAttributes.cs
- TypeInfo.cs
- HttpCacheVary.cs
- XmlSchemas.cs
- ProviderSettings.cs
- NumericExpr.cs
- EntityTypeBase.cs
- LocationSectionRecord.cs
- LinqDataSourceDisposeEventArgs.cs
- EntityDataSourceState.cs
- Behavior.cs
- DbConnectionStringBuilder.cs
- GroupLabel.cs
- ConnectionManagementElementCollection.cs
- KnownBoxes.cs
- SignatureResourcePool.cs
- ResetableIterator.cs
- DataGridViewMethods.cs
- Vertex.cs
- VSDExceptions.cs
- DispatcherExceptionEventArgs.cs
- XpsInterleavingPolicy.cs
- XmlAutoDetectWriter.cs
- ComboBox.cs
- PeerNameRecord.cs
- ModifierKeysValueSerializer.cs
- PropertyInformationCollection.cs
- HttpCapabilitiesEvaluator.cs
- SqlGatherConsumedAliases.cs
- EditorPartCollection.cs
- SafeFileMappingHandle.cs
- PersonalizationProviderHelper.cs
- ResourceDefaultValueAttribute.cs
- Logging.cs
- LassoSelectionBehavior.cs
- BoundsDrawingContextWalker.cs
- ClientData.cs
- MouseOverProperty.cs
- DataTableClearEvent.cs
- WebPartHeaderCloseVerb.cs
- Point3DAnimation.cs
- CellCreator.cs
- PersonalizationProviderHelper.cs
- EDesignUtil.cs
- ProcessHostFactoryHelper.cs
- ProvidePropertyAttribute.cs
- IsolatedStorageFile.cs
- HtmlInputSubmit.cs
- TypeHelper.cs
- CatalogZone.cs
- XmlUtil.cs
- TextDecorationLocationValidation.cs
- PointLightBase.cs
- JsonMessageEncoderFactory.cs
- ResponseStream.cs
- ObjectStateEntry.cs
- _SSPIWrapper.cs
- PageParser.cs
- lengthconverter.cs
- Keywords.cs
- ActiveXHelper.cs
- FlowLayoutSettings.cs
- DateTimeHelper.cs
- GridViewRowCollection.cs
- Rfc2898DeriveBytes.cs
- CodeAssignStatement.cs
- MissingSatelliteAssemblyException.cs
- DependencyObjectType.cs
- XomlCompilerResults.cs
- ToolStripMenuItem.cs
- QueryOpeningEnumerator.cs
- FolderLevelBuildProviderAppliesToAttribute.cs
- HttpServerVarsCollection.cs
- SqlWebEventProvider.cs
- MarginsConverter.cs
- TextTreeInsertUndoUnit.cs
- DataGridPageChangedEventArgs.cs
- ArgIterator.cs
- StorageTypeMapping.cs
- ListControlConvertEventArgs.cs
- RegexInterpreter.cs
- ProxyElement.cs
- SystemException.cs
- NavigatorInput.cs
- Triangle.cs
- DBSchemaRow.cs
- Int32CollectionConverter.cs
- XPathChildIterator.cs
- CommandHelpers.cs
- FusionWrap.cs
- CompositeActivityTypeDescriptor.cs
- Graph.cs
- RuleSettings.cs
- Int16AnimationUsingKeyFrames.cs
- ProgressiveCrcCalculatingStream.cs
- XmlObjectSerializerReadContext.cs
- ZeroOpNode.cs
- messageonlyhwndwrapper.cs