Code:
/ FX-1434 / FX-1434 / 1.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
- CodeMethodReturnStatement.cs
- FixedSchema.cs
- WriteTimeStream.cs
- DesignerTransaction.cs
- ChildDocumentBlock.cs
- UserControlParser.cs
- ClientRuntimeConfig.cs
- BlockExpression.cs
- SingleKeyFrameCollection.cs
- Module.cs
- CodeDirectoryCompiler.cs
- ImpersonateTokenRef.cs
- UpdatePanel.cs
- SoapInteropTypes.cs
- XsltContext.cs
- Choices.cs
- _CacheStreams.cs
- cryptoapiTransform.cs
- SkewTransform.cs
- Codec.cs
- Viewport2DVisual3D.cs
- ProviderCollection.cs
- HttpListenerException.cs
- PocoPropertyAccessorStrategy.cs
- WebPartVerbCollection.cs
- HistoryEventArgs.cs
- NetworkAddressChange.cs
- CounterSetInstance.cs
- AuthenticatingEventArgs.cs
- baseshape.cs
- SimpleType.cs
- WSMessageEncoding.cs
- RemotingSurrogateSelector.cs
- SqlFunctionAttribute.cs
- CallbackException.cs
- EventLogConfiguration.cs
- DuplicateWaitObjectException.cs
- BooleanAnimationUsingKeyFrames.cs
- InputBuffer.cs
- BaseCollection.cs
- LoginStatusDesigner.cs
- X509ChainElement.cs
- FilteredReadOnlyMetadataCollection.cs
- Fx.cs
- List.cs
- AutomationPropertyInfo.cs
- PointHitTestResult.cs
- ProgressBarRenderer.cs
- EventHandlerList.cs
- ComboBoxRenderer.cs
- ThreadPool.cs
- SignedXmlDebugLog.cs
- UpdateExpressionVisitor.cs
- SchemaNamespaceManager.cs
- ScopelessEnumAttribute.cs
- ReachFixedPageSerializer.cs
- unsafenativemethodsother.cs
- UIElementIsland.cs
- DesignerUtility.cs
- AssertUtility.cs
- ArgumentOutOfRangeException.cs
- DynamicObjectAccessor.cs
- Calendar.cs
- DesignerOptionService.cs
- FormClosedEvent.cs
- SectionRecord.cs
- CookieParameter.cs
- SqlServices.cs
- SettingsProperty.cs
- Subtree.cs
- WebConfigurationFileMap.cs
- XmlSchemas.cs
- DataGridTablesFactory.cs
- InProcStateClientManager.cs
- Path.cs
- ListView.cs
- PreservationFileReader.cs
- ToolStripMenuItemCodeDomSerializer.cs
- ValidateNames.cs
- NameScope.cs
- QilIterator.cs
- AttributeEmitter.cs
- WMICapabilities.cs
- DoubleAnimationClockResource.cs
- NotifyParentPropertyAttribute.cs
- TableItemStyle.cs
- InvalidOleVariantTypeException.cs
- InputBinder.cs
- RangeValuePattern.cs
- CurrencyManager.cs
- BinaryObjectInfo.cs
- FixedBufferAttribute.cs
- Separator.cs
- DbExpressionRules.cs
- RegexWriter.cs
- StatusCommandUI.cs
- DuplicateDetector.cs
- WindowsListViewItem.cs
- XmlBuffer.cs
- AffineTransform3D.cs