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
- MyContact.cs
- TdsValueSetter.cs
- SqlServer2KCompatibilityCheck.cs
- FileLogRecordStream.cs
- OdbcStatementHandle.cs
- SerializationEventsCache.cs
- ResourceExpressionBuilder.cs
- SuppressMergeCheckAttribute.cs
- UriSectionReader.cs
- IDispatchConstantAttribute.cs
- SafeReversePInvokeHandle.cs
- MetadataAssemblyHelper.cs
- XmlSchemaObject.cs
- PerformanceCounterCategory.cs
- ClientSettings.cs
- Sql8ExpressionRewriter.cs
- NumericPagerField.cs
- DataServiceQuery.cs
- XmlSchemaSimpleTypeUnion.cs
- PageCodeDomTreeGenerator.cs
- XmlSerializerVersionAttribute.cs
- FloatAverageAggregationOperator.cs
- ObjectKeyFrameCollection.cs
- ObjectViewListener.cs
- HitTestWithGeometryDrawingContextWalker.cs
- WhitespaceSignificantCollectionAttribute.cs
- XpsFilter.cs
- PrinterSettings.cs
- ImplicitInputBrush.cs
- ReferencedAssembly.cs
- figurelength.cs
- DelimitedListTraceListener.cs
- SystemIPGlobalProperties.cs
- WebPartRestoreVerb.cs
- JsonReaderDelegator.cs
- BatchParser.cs
- CacheAxisQuery.cs
- ArrayExtension.cs
- SetterBase.cs
- Point3DCollectionConverter.cs
- XmlWriter.cs
- DataPointer.cs
- ConfigurationValidatorAttribute.cs
- ToolStripScrollButton.cs
- XmlSchemaIdentityConstraint.cs
- RayMeshGeometry3DHitTestResult.cs
- EventProviderClassic.cs
- DocumentSequence.cs
- SynchronizingStream.cs
- BinaryMessageEncodingElement.cs
- Encoding.cs
- RegexStringValidatorAttribute.cs
- ExpandoObject.cs
- TextModifier.cs
- PolyLineSegment.cs
- ToolStripItemImageRenderEventArgs.cs
- CompilationSection.cs
- OpenFileDialog.cs
- Helpers.cs
- XPathDocumentBuilder.cs
- AuthenticationSection.cs
- InputQueue.cs
- BitmapEffectInputConnector.cs
- DataGridViewImageCell.cs
- ExceptionValidationRule.cs
- SafeIUnknown.cs
- PopupEventArgs.cs
- XmlReflectionImporter.cs
- EntryWrittenEventArgs.cs
- ConnectionPointGlyph.cs
- BamlRecordReader.cs
- GridItemProviderWrapper.cs
- WorkflowServiceHost.cs
- DataTable.cs
- SoapServerMethod.cs
- ExtensionFile.cs
- ErrorWebPart.cs
- ToolStripControlHost.cs
- _KerberosClient.cs
- ManualResetEvent.cs
- DataTableNameHandler.cs
- SelectionEditingBehavior.cs
- InvokeGenerator.cs
- PeerObject.cs
- SystemFonts.cs
- DiscoveryReferences.cs
- ZoneLinkButton.cs
- SymDocumentType.cs
- SiteMapSection.cs
- SpecialNameAttribute.cs
- DataComponentNameHandler.cs
- ExpressionQuoter.cs
- SimpleApplicationHost.cs
- rsa.cs
- RequiredFieldValidator.cs
- FontConverter.cs
- ReadWriteSpinLock.cs
- MobileDeviceCapabilitiesSectionHandler.cs
- ProfileManager.cs
- SqlUserDefinedAggregateAttribute.cs