Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- FirewallWrapper.cs
- InvalidCastException.cs
- GlyphInfoList.cs
- UriParserTemplates.cs
- XmlAtomicValue.cs
- MaterialGroup.cs
- Decimal.cs
- BaseCAMarshaler.cs
- CheckPair.cs
- MouseWheelEventArgs.cs
- SiteMapProvider.cs
- InvalidOperationException.cs
- SafeCryptoHandles.cs
- RelationshipEndCollection.cs
- DesignBindingPicker.cs
- TabControlCancelEvent.cs
- AmbientLight.cs
- StateMachineWorkflow.cs
- LinqExpressionNormalizer.cs
- WeakReadOnlyCollection.cs
- ThaiBuddhistCalendar.cs
- WinFormsUtils.cs
- DependencyObject.cs
- ResourceReferenceKeyNotFoundException.cs
- PolicyValidationException.cs
- TimeoutValidationAttribute.cs
- TextTreeRootNode.cs
- SafeLibraryHandle.cs
- DbgCompiler.cs
- AstNode.cs
- VirtualizedCellInfoCollection.cs
- SqlCacheDependency.cs
- itemelement.cs
- IPPacketInformation.cs
- Imaging.cs
- TextEffectCollection.cs
- TypeSystemProvider.cs
- MobileControlBuilder.cs
- ScrollChangedEventArgs.cs
- HijriCalendar.cs
- BitmapCacheBrush.cs
- OdbcConnectionOpen.cs
- SymmetricSecurityProtocolFactory.cs
- OleDbWrapper.cs
- OSFeature.cs
- MetadataArtifactLoaderCompositeFile.cs
- NameValuePermission.cs
- DataTableReaderListener.cs
- Fx.cs
- InvalidPrinterException.cs
- path.cs
- UIElement3DAutomationPeer.cs
- CurrentChangingEventManager.cs
- EncryptedKeyIdentifierClause.cs
- MediaContextNotificationWindow.cs
- ClusterSafeNativeMethods.cs
- Brush.cs
- StrongNameKeyPair.cs
- UserControlDocumentDesigner.cs
- SurrogateSelector.cs
- Root.cs
- ToolStripDropDownClosingEventArgs.cs
- HMACSHA384.cs
- DoubleLinkList.cs
- DbReferenceCollection.cs
- HashFinalRequest.cs
- BeginCreateSecurityTokenRequest.cs
- WinCategoryAttribute.cs
- ValidationErrorEventArgs.cs
- XmlParserContext.cs
- XmlResolver.cs
- ErrorTableItemStyle.cs
- ExtendedTransformFactory.cs
- ImageFormat.cs
- FullTextState.cs
- DSASignatureFormatter.cs
- SafeHandles.cs
- EventProviderWriter.cs
- Help.cs
- PathGeometry.cs
- ComPlusServiceLoader.cs
- ExpressionBuilderContext.cs
- TcpWorkerProcess.cs
- Int32RectValueSerializer.cs
- Utilities.cs
- ApplicationId.cs
- Attributes.cs
- DataSetMappper.cs
- ProfileManager.cs
- X509Utils.cs
- StrongNameMembershipCondition.cs
- userdatakeys.cs
- SSmlParser.cs
- PaperSource.cs
- EventLog.cs
- BrowserTree.cs
- QueryRelOp.cs
- BaseInfoTable.cs
- AspCompat.cs
- NameValueSectionHandler.cs