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
- Classification.cs
- ElementNotAvailableException.cs
- ToolStripItemDesigner.cs
- PeerTransportBindingElement.cs
- DrawingVisualDrawingContext.cs
- BuiltInExpr.cs
- FixedPageAutomationPeer.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- ImplicitInputBrush.cs
- ConfigurationElement.cs
- CommentEmitter.cs
- AutomationTextAttribute.cs
- NetStream.cs
- ToolStripMenuItem.cs
- XPathSelfQuery.cs
- ApplicationInfo.cs
- HostProtectionException.cs
- BindingBase.cs
- SoapInteropTypes.cs
- OperationAbortedException.cs
- MemoryFailPoint.cs
- ISAPIApplicationHost.cs
- DodSequenceMerge.cs
- DesignerVerb.cs
- PropertyBuilder.cs
- DictionarySectionHandler.cs
- XmlSchemaSubstitutionGroup.cs
- XmlEntityReference.cs
- IIS7WorkerRequest.cs
- SchemaImporterExtensionElement.cs
- AsyncResult.cs
- NamedElement.cs
- AppSettings.cs
- WSHttpTransportSecurityElement.cs
- SimpleTypeResolver.cs
- ConnectionStringsExpressionBuilder.cs
- Boolean.cs
- MappedMetaModel.cs
- ProjectionQueryOptionExpression.cs
- CryptoKeySecurity.cs
- IPipelineRuntime.cs
- WindowsFormsLinkLabel.cs
- FormClosingEvent.cs
- RoutedEvent.cs
- EnumerableCollectionView.cs
- ToolBar.cs
- CompModSwitches.cs
- XAMLParseException.cs
- SecurityPolicySection.cs
- DiscoveryService.cs
- WindowsListView.cs
- KeyFrames.cs
- DataGridColumnCollectionEditor.cs
- HandleRef.cs
- httpapplicationstate.cs
- ServicePointManager.cs
- AsyncCompletedEventArgs.cs
- TextPenaltyModule.cs
- PersonalizationProvider.cs
- PagedControl.cs
- Substitution.cs
- DateTimeFormat.cs
- LoginUtil.cs
- ConnectorSelectionGlyph.cs
- ModifierKeysValueSerializer.cs
- RegularExpressionValidator.cs
- NetworkInterface.cs
- UpdateCompiler.cs
- InputElement.cs
- NameValueFileSectionHandler.cs
- BuildProvider.cs
- TemplateContainer.cs
- EntityDataSourceReferenceGroup.cs
- HtmlTitle.cs
- ErrorItem.cs
- ResetableIterator.cs
- AddressHeaderCollectionElement.cs
- BaseTemplateCodeDomTreeGenerator.cs
- WebPartCollection.cs
- RequestCachePolicy.cs
- XmlnsCache.cs
- BaseProcessProtocolHandler.cs
- Utils.cs
- TreeNodeCollection.cs
- Int16AnimationBase.cs
- ReadOnlyHierarchicalDataSource.cs
- DiagnosticsConfiguration.cs
- OdbcConnectionString.cs
- ActivityWithResultWrapper.cs
- MulticastOption.cs
- SqlConnectionHelper.cs
- ProfileParameter.cs
- PngBitmapDecoder.cs
- DoubleAnimationClockResource.cs
- WeakEventTable.cs
- AxisAngleRotation3D.cs
- WsatServiceAddress.cs
- ToolBarTray.cs
- FactoryRecord.cs
- FileUtil.cs