Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Transform3DCollection.cs
- WizardSideBarListControlItemEventArgs.cs
- InvalidOleVariantTypeException.cs
- InstanceOwnerException.cs
- AutomationElementCollection.cs
- ProxyGenerator.cs
- ControlPager.cs
- XmlSerializationGeneratedCode.cs
- BindingEntityInfo.cs
- RadioButtonPopupAdapter.cs
- RowCache.cs
- DataGridrowEditEndingEventArgs.cs
- SqlMethodTransformer.cs
- CacheChildrenQuery.cs
- Win32SafeHandles.cs
- HideDisabledControlAdapter.cs
- PointLight.cs
- CodeSnippetStatement.cs
- BaseDataListDesigner.cs
- EntityClassGenerator.cs
- NewArray.cs
- PasswordRecovery.cs
- IgnoreSection.cs
- ClickablePoint.cs
- TextBox.cs
- DPTypeDescriptorContext.cs
- ValueUtilsSmi.cs
- ConfigurationErrorsException.cs
- ExceptionWrapper.cs
- ErrorCodes.cs
- DataKeyArray.cs
- ListenerHandler.cs
- CodeObjectCreateExpression.cs
- XmlNodeComparer.cs
- MarkupCompilePass2.cs
- xsdvalidator.cs
- TextControlDesigner.cs
- Base64Encoder.cs
- OrderedDictionary.cs
- connectionpool.cs
- HtmlProps.cs
- GlyphingCache.cs
- Module.cs
- GlyphingCache.cs
- UniformGrid.cs
- CommunicationObjectAbortedException.cs
- CommonRemoteMemoryBlock.cs
- FullTextBreakpoint.cs
- CreateUserWizardAutoFormat.cs
- Panel.cs
- MissingSatelliteAssemblyException.cs
- HotSpot.cs
- XmlSchemaValidator.cs
- KeyNotFoundException.cs
- DescendentsWalker.cs
- TypographyProperties.cs
- PartitionerQueryOperator.cs
- DataBindingExpressionBuilder.cs
- CodeCompileUnit.cs
- WizardPanelChangingEventArgs.cs
- IisTraceListener.cs
- GridViewSelectEventArgs.cs
- objectresult_tresulttype.cs
- PnrpPermission.cs
- SvcMapFile.cs
- UpdatePanelTrigger.cs
- WebReference.cs
- TableLayoutCellPaintEventArgs.cs
- IgnoreFileBuildProvider.cs
- OdbcStatementHandle.cs
- SourceSwitch.cs
- OperatingSystem.cs
- MarkedHighlightComponent.cs
- DataGridViewCellStyle.cs
- SafeNativeMethods.cs
- TriggerCollection.cs
- ClickablePoint.cs
- PrimitiveXmlSerializers.cs
- SQLDecimalStorage.cs
- ClientRoleProvider.cs
- HtmlInputSubmit.cs
- DigestComparer.cs
- MediaSystem.cs
- XmlDataSource.cs
- BindingOperations.cs
- PixelShader.cs
- DBBindings.cs
- InvokeSchedule.cs
- DetailsViewCommandEventArgs.cs
- UnionExpr.cs
- AlgoModule.cs
- RenderingBiasValidation.cs
- IssuedSecurityTokenParameters.cs
- ToolStripSeparatorRenderEventArgs.cs
- ConversionValidationRule.cs
- Compiler.cs
- TcpStreams.cs
- WebServiceAttribute.cs
- EntityModelBuildProvider.cs
- DataListItemEventArgs.cs