Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IO / EndOfStreamException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- MasterPage.cs
- WSHttpTransportSecurityElement.cs
- RijndaelCryptoServiceProvider.cs
- SiteMapNodeItem.cs
- FormatException.cs
- Renderer.cs
- CodeIdentifiers.cs
- DirectoryNotFoundException.cs
- XmlIgnoreAttribute.cs
- StyleConverter.cs
- OdbcConnectionFactory.cs
- SqlCacheDependencyDatabaseCollection.cs
- FactoryMaker.cs
- StateManagedCollection.cs
- BoolExpr.cs
- ExtensibleClassFactory.cs
- Marshal.cs
- UseManagedPresentationElement.cs
- ScopelessEnumAttribute.cs
- arabicshape.cs
- ZipFileInfo.cs
- BuildManagerHost.cs
- ProxyGenerator.cs
- DateTimeFormat.cs
- DrawingContext.cs
- ZipArchive.cs
- WorkflowPersistenceService.cs
- SqlTriggerAttribute.cs
- Underline.cs
- WindowsUpDown.cs
- ParallelDesigner.cs
- DataControlFieldCell.cs
- VisualStyleInformation.cs
- AuthorizationSection.cs
- SQLInt32Storage.cs
- XmlHelper.cs
- TypeConvertions.cs
- UTF32Encoding.cs
- precedingquery.cs
- CodeNamespaceCollection.cs
- FrameworkReadOnlyPropertyMetadata.cs
- CommandLibraryHelper.cs
- DefaultClaimSet.cs
- ProviderConnectionPointCollection.cs
- Helpers.cs
- LogEntryHeaderSerializer.cs
- ThemeableAttribute.cs
- FixedSOMPageElement.cs
- LineInfo.cs
- RenderTargetBitmap.cs
- HttpFileCollection.cs
- AnnotationResourceCollection.cs
- ComponentCodeDomSerializer.cs
- ResizingMessageFilter.cs
- OdbcStatementHandle.cs
- SelfIssuedAuthRSACryptoProvider.cs
- BamlRecords.cs
- CodeMemberEvent.cs
- OAVariantLib.cs
- IdnElement.cs
- PrintDialog.cs
- GeometryConverter.cs
- TransformProviderWrapper.cs
- DataGridViewDataErrorEventArgs.cs
- RegistrySecurity.cs
- ImageCodecInfoPrivate.cs
- MetadataCacheItem.cs
- Delay.cs
- GC.cs
- CatalogZoneBase.cs
- ContainerUtilities.cs
- FormViewUpdateEventArgs.cs
- TableAdapterManagerHelper.cs
- SessionIDManager.cs
- FixedDocumentSequencePaginator.cs
- VideoDrawing.cs
- _SslState.cs
- RootDesignerSerializerAttribute.cs
- _NestedMultipleAsyncResult.cs
- SafeRightsManagementQueryHandle.cs
- BufferModesCollection.cs
- WinCategoryAttribute.cs
- PropertyKey.cs
- _SSPISessionCache.cs
- CodeEntryPointMethod.cs
- JoinCqlBlock.cs
- TimeSpanParse.cs
- InheritablePropertyChangeInfo.cs
- DoubleAnimationUsingKeyFrames.cs
- CodeTypeReferenceCollection.cs
- TextWriterEngine.cs
- ISFTagAndGuidCache.cs
- TypeConverter.cs
- XpsPartBase.cs
- TextMarkerSource.cs
- XmlHierarchyData.cs
- DispatchChannelSink.cs
- WebPartConnectionsCancelVerb.cs
- IdentifierService.cs
- MimeTypeMapper.cs