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
- DataGridViewCellPaintingEventArgs.cs
- HostExecutionContextManager.cs
- DoubleLinkListEnumerator.cs
- ProviderSettingsCollection.cs
- SID.cs
- PrintPreviewGraphics.cs
- RelationshipManager.cs
- TransformGroup.cs
- HostProtectionPermission.cs
- Grant.cs
- AdjustableArrowCap.cs
- PropertyTabChangedEvent.cs
- ClientUrlResolverWrapper.cs
- ParsedAttributeCollection.cs
- Base64Stream.cs
- ApplicationInfo.cs
- SmiEventSink_DeferedProcessing.cs
- AutoScrollExpandMessageFilter.cs
- ConnectionsZone.cs
- DriveNotFoundException.cs
- CommaDelimitedStringAttributeCollectionConverter.cs
- DialogResultConverter.cs
- HttpPostLocalhostServerProtocol.cs
- SqlRowUpdatingEvent.cs
- ParenthesizePropertyNameAttribute.cs
- XmlSchemaImport.cs
- IndentedWriter.cs
- Convert.cs
- AssertSection.cs
- EntityTypeEmitter.cs
- RawMouseInputReport.cs
- StagingAreaInputItem.cs
- StatusStrip.cs
- Memoizer.cs
- TimeIntervalCollection.cs
- SpinLock.cs
- RoleGroupCollection.cs
- ClosableStream.cs
- WebBrowserHelper.cs
- Utils.cs
- TimeSpanSecondsConverter.cs
- DataGridViewRowCollection.cs
- BindingList.cs
- Stacktrace.cs
- TaskFormBase.cs
- KeyTimeConverter.cs
- Quaternion.cs
- controlskin.cs
- SpeechAudioFormatInfo.cs
- ListBoxItemAutomationPeer.cs
- DynamicRouteExpression.cs
- WsdlBuildProvider.cs
- ObjectQueryProvider.cs
- Italic.cs
- ClickablePoint.cs
- SqlInternalConnection.cs
- TableLayoutCellPaintEventArgs.cs
- Size3DConverter.cs
- MediaContext.cs
- UpdateEventArgs.cs
- BaseCollection.cs
- NameValueCollection.cs
- GlobalProxySelection.cs
- TrackingSection.cs
- MessageEnumerator.cs
- TextBoxDesigner.cs
- WindowsStatic.cs
- PeerObject.cs
- HandleTable.cs
- ListBoxAutomationPeer.cs
- RelatedEnd.cs
- Figure.cs
- XmlExpressionDumper.cs
- SHA1.cs
- Operator.cs
- AmbientValueAttribute.cs
- ToolStripTemplateNode.cs
- ObjectStateEntryOriginalDbUpdatableDataRecord.cs
- ScrollPattern.cs
- Compensate.cs
- MatrixValueSerializer.cs
- AppDomainFactory.cs
- NativeMethods.cs
- WhiteSpaceTrimStringConverter.cs
- XmlQueryStaticData.cs
- DispatcherTimer.cs
- SafeThemeHandle.cs
- HttpGetProtocolReflector.cs
- NamedElement.cs
- SrgsElement.cs
- ServerProtocol.cs
- SqlFileStream.cs
- FontEditor.cs
- DataServiceEntityAttribute.cs
- PerformanceCounterManager.cs
- figurelengthconverter.cs
- LingerOption.cs
- SafeThemeHandle.cs
- StreamingContext.cs
- TextRenderer.cs