Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- UIElement.cs
- SystemPens.cs
- SrgsElementList.cs
- SeparatorAutomationPeer.cs
- DoWorkEventArgs.cs
- LostFocusEventManager.cs
- PropertyConverter.cs
- TextFormatterHost.cs
- BoundPropertyEntry.cs
- EntityUtil.cs
- QueryExpr.cs
- MenuStrip.cs
- WindowsAuthenticationEventArgs.cs
- StatusBarAutomationPeer.cs
- errorpatternmatcher.cs
- StrongNameIdentityPermission.cs
- ListCollectionView.cs
- EnumConverter.cs
- ListItemsCollectionEditor.cs
- BindingsCollection.cs
- PtsContext.cs
- HtmlForm.cs
- InvalidCommandTreeException.cs
- QueryTreeBuilder.cs
- XPathSingletonIterator.cs
- VisualStateChangedEventArgs.cs
- NetStream.cs
- NoClickablePointException.cs
- WorkItem.cs
- Qualifier.cs
- FormViewPagerRow.cs
- EntityModelSchemaGenerator.cs
- StyleTypedPropertyAttribute.cs
- WindowsFormsLinkLabel.cs
- ClassHandlersStore.cs
- MetaModel.cs
- VerificationException.cs
- SQLInt64Storage.cs
- XmlFormatExtensionAttribute.cs
- MessageEnumerator.cs
- EmptyStringExpandableObjectConverter.cs
- ValueChangedEventManager.cs
- RNGCryptoServiceProvider.cs
- XmlElement.cs
- EntityViewContainer.cs
- ThumbButtonInfoCollection.cs
- UserInitiatedNavigationPermission.cs
- UrlPath.cs
- ExpressionQuoter.cs
- DetailsViewInsertedEventArgs.cs
- TypeInitializationException.cs
- CommandValueSerializer.cs
- IdentityModelStringsVersion1.cs
- SafeNativeMethodsCLR.cs
- MemberNameValidator.cs
- TransformedBitmap.cs
- GridViewRowPresenterBase.cs
- PathStreamGeometryContext.cs
- CapabilitiesSection.cs
- MethodExpr.cs
- ProfileElement.cs
- ListViewInsertedEventArgs.cs
- LineMetrics.cs
- XamlInt32CollectionSerializer.cs
- MatchingStyle.cs
- SmiEventSink_Default.cs
- CodeTypeConstructor.cs
- WindowsListViewGroupSubsetLink.cs
- TypeDelegator.cs
- ServiceObjectContainer.cs
- PeerNameRecordCollection.cs
- SystemIPInterfaceStatistics.cs
- OdbcErrorCollection.cs
- ItemsControl.cs
- XNodeValidator.cs
- shaperfactory.cs
- QueueProcessor.cs
- DataGridColumnStyleMappingNameEditor.cs
- SqlDataSourceFilteringEventArgs.cs
- RenderTargetBitmap.cs
- StylusButton.cs
- PerformanceCountersElement.cs
- ItemAutomationPeer.cs
- DecoderFallbackWithFailureFlag.cs
- TreeViewAutomationPeer.cs
- _TLSstream.cs
- RelationshipNavigation.cs
- ToolboxComponentsCreatingEventArgs.cs
- columnmapkeybuilder.cs
- UrlPropertyAttribute.cs
- DataGridViewRowsAddedEventArgs.cs
- GridItemProviderWrapper.cs
- EntityTransaction.cs
- ServerIdentity.cs
- DataExpression.cs
- ObjectFullSpanRewriter.cs
- GridViewColumnCollectionChangedEventArgs.cs
- WindowsListViewGroupSubsetLink.cs
- DurableServiceAttribute.cs
- MultiView.cs