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
- ReversePositionQuery.cs
- xmlsaver.cs
- PromptEventArgs.cs
- ScrollViewerAutomationPeer.cs
- CodeStatementCollection.cs
- DecryptRequest.cs
- FaultCode.cs
- HandlerFactoryWrapper.cs
- XmlHelper.cs
- StorageEndPropertyMapping.cs
- NavigationPropertyEmitter.cs
- sqlcontext.cs
- Helpers.cs
- Symbol.cs
- MetadataPropertyCollection.cs
- SecurityCriticalDataForSet.cs
- MissingSatelliteAssemblyException.cs
- ToolStripSeparator.cs
- CaseExpr.cs
- MatrixTransform.cs
- Tag.cs
- DirectoryNotFoundException.cs
- InputBuffer.cs
- DrawingBrush.cs
- AttributeCollection.cs
- AutomationPatternInfo.cs
- WebPartConnectionsConfigureVerb.cs
- documentsequencetextpointer.cs
- FunctionUpdateCommand.cs
- PingReply.cs
- ArrayElementGridEntry.cs
- Polygon.cs
- DbParameterHelper.cs
- DataTemplateSelector.cs
- PersonalizationState.cs
- MiniMapControl.xaml.cs
- SqlRewriteScalarSubqueries.cs
- ProcessHost.cs
- ReliableInputConnection.cs
- SspiSecurityToken.cs
- BooleanConverter.cs
- AnonymousIdentificationSection.cs
- AddIn.cs
- DesignerTransactionCloseEvent.cs
- ResizeGrip.cs
- RenderDataDrawingContext.cs
- listitem.cs
- LinqDataSourceUpdateEventArgs.cs
- EqualityArray.cs
- QuaternionAnimationBase.cs
- TargetConverter.cs
- Section.cs
- TdsParserSessionPool.cs
- SplashScreen.cs
- CalendarData.cs
- CacheHelper.cs
- ContextMenuStrip.cs
- IdentityModelDictionary.cs
- Trigger.cs
- OutOfMemoryException.cs
- ParameterModifier.cs
- XamlSerializationHelper.cs
- NavigationService.cs
- CompiledIdentityConstraint.cs
- LinearGradientBrush.cs
- DrawingDrawingContext.cs
- TemplateColumn.cs
- Simplifier.cs
- PingReply.cs
- SqlDesignerDataSourceView.cs
- SamlSubject.cs
- GeneralTransform3DTo2D.cs
- XmlBoundElement.cs
- SafeSerializationManager.cs
- SqlTriggerContext.cs
- Number.cs
- Collection.cs
- DragDrop.cs
- GatewayDefinition.cs
- HostingPreferredMapPath.cs
- InputScope.cs
- QueryInterceptorAttribute.cs
- SendMailErrorEventArgs.cs
- TabPage.cs
- OdbcInfoMessageEvent.cs
- PathTooLongException.cs
- ColumnWidthChangedEvent.cs
- PropertyTabChangedEvent.cs
- LinkTarget.cs
- SmtpClient.cs
- X509UI.cs
- ColumnResult.cs
- TypeTypeConverter.cs
- DelegateHelpers.Generated.cs
- WebBrowserEvent.cs
- UrlParameterReader.cs
- HttpClientCertificate.cs
- XmlFormatExtensionPrefixAttribute.cs
- HttpListener.cs
- ContentIterators.cs