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
- DocumentPageViewAutomationPeer.cs
- CommandBindingCollection.cs
- StaticResourceExtension.cs
- FrameworkObject.cs
- LookupNode.cs
- XmlCustomFormatter.cs
- MailAddressCollection.cs
- TraceHandler.cs
- LockedAssemblyCache.cs
- NativeMethods.cs
- StateDesigner.LayoutSelectionGlyph.cs
- Misc.cs
- NavigatingCancelEventArgs.cs
- IIS7UserPrincipal.cs
- SourceLocation.cs
- DbReferenceCollection.cs
- FileSystemEventArgs.cs
- OdbcCommandBuilder.cs
- SyndicationFeedFormatter.cs
- XmlWriterTraceListener.cs
- HtmlTableRowCollection.cs
- Msec.cs
- ObjectDisposedException.cs
- WebPartUtil.cs
- XmlKeywords.cs
- HostProtectionPermission.cs
- DataBinding.cs
- PageThemeCodeDomTreeGenerator.cs
- DataGridViewColumnDesigner.cs
- MenuItemCollection.cs
- WebPartZoneBase.cs
- HebrewCalendar.cs
- AttributeQuery.cs
- RadioButton.cs
- CaseExpr.cs
- DocumentOrderQuery.cs
- ParameterCollection.cs
- BookmarkWorkItem.cs
- ConnectionConsumerAttribute.cs
- ObjectSpanRewriter.cs
- XamlParser.cs
- PrimaryKeyTypeConverter.cs
- ParamArrayAttribute.cs
- Trustee.cs
- TemplateKeyConverter.cs
- XPathSelectionIterator.cs
- DataGrid.cs
- GridViewSortEventArgs.cs
- CapabilitiesAssignment.cs
- SpellerInterop.cs
- TimeSpanSecondsConverter.cs
- XmlArrayItemAttribute.cs
- IssuedTokenServiceElement.cs
- DataSetUtil.cs
- ButtonPopupAdapter.cs
- RadioButtonAutomationPeer.cs
- DesignerUtility.cs
- ShaderRenderModeValidation.cs
- DecimalConverter.cs
- DataGridColumnsPage.cs
- SecurityTokenProvider.cs
- ListBase.cs
- XmlTextEncoder.cs
- TabletCollection.cs
- MenuDesigner.cs
- PointHitTestResult.cs
- ValidationResult.cs
- SystemMulticastIPAddressInformation.cs
- ClientTargetCollection.cs
- CapacityStreamGeometryContext.cs
- filewebrequest.cs
- ScriptHandlerFactory.cs
- DataGridViewCellFormattingEventArgs.cs
- FileDialog.cs
- StorageInfo.cs
- CodeDomSerializer.cs
- TreeViewCancelEvent.cs
- ContainerControl.cs
- CrossSiteScriptingValidation.cs
- COM2Enum.cs
- RectangleGeometry.cs
- CodeTryCatchFinallyStatement.cs
- HashCodeCombiner.cs
- TriggerAction.cs
- ContentFilePart.cs
- ISessionStateStore.cs
- ListItemParagraph.cs
- TreeNode.cs
- Select.cs
- SessionStateUtil.cs
- ResourceExpressionBuilder.cs
- PassportAuthenticationModule.cs
- Query.cs
- WebEventTraceProvider.cs
- Number.cs
- ConnectionConsumerAttribute.cs
- ImageDrawing.cs
- TwoPhaseCommitProxy.cs
- SafeThreadHandle.cs
- TextServicesHost.cs