Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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
- PropVariant.cs
- CorrelationManager.cs
- ProtocolsConfigurationHandler.cs
- FixedSOMTableRow.cs
- EntryIndex.cs
- ExtensibleClassFactory.cs
- HttpListenerRequestTraceRecord.cs
- DesignerTextWriter.cs
- TransactionWaitAsyncResult.cs
- MediaSystem.cs
- SizeLimitedCache.cs
- HttpApplicationFactory.cs
- EventlogProvider.cs
- NativeMethodsOther.cs
- EditorZoneBase.cs
- CorrelationResolver.cs
- PropertyBuilder.cs
- OrderByBuilder.cs
- SaveFileDialog.cs
- VarRefManager.cs
- DynamicResourceExtensionConverter.cs
- MessageSecurityOverHttpElement.cs
- GeometryCombineModeValidation.cs
- SQLGuidStorage.cs
- DateTimePicker.cs
- AddInActivator.cs
- ProvidersHelper.cs
- PeerNameRecord.cs
- TextRunProperties.cs
- Tag.cs
- UserPreference.cs
- Aggregates.cs
- PolyLineSegmentFigureLogic.cs
- DataRecordInternal.cs
- SqlReorderer.cs
- HwndAppCommandInputProvider.cs
- FamilyMapCollection.cs
- FixedSOMImage.cs
- AutomationPropertyInfo.cs
- AudioBase.cs
- MaskPropertyEditor.cs
- ButtonChrome.cs
- AppDomain.cs
- RegexGroupCollection.cs
- FunctionDescription.cs
- DynamicILGenerator.cs
- AuthStoreRoleProvider.cs
- XmlTextReaderImpl.cs
- ConnectionProviderAttribute.cs
- PersistenceException.cs
- AnimationClock.cs
- ProviderSettings.cs
- BindingNavigator.cs
- CodeRegionDirective.cs
- TcpServerChannel.cs
- HttpResponseInternalWrapper.cs
- LinqDataSourceUpdateEventArgs.cs
- MeshGeometry3D.cs
- ItemMap.cs
- WindowsPrincipal.cs
- DataPagerField.cs
- PenThreadWorker.cs
- XsltArgumentList.cs
- SqlMetaData.cs
- FocusManager.cs
- SQLBinary.cs
- Error.cs
- OdbcUtils.cs
- Facet.cs
- TextDecorationCollection.cs
- ScriptingWebServicesSectionGroup.cs
- PropertyBuilder.cs
- ActivityBindForm.Designer.cs
- SoapIncludeAttribute.cs
- HierarchicalDataTemplate.cs
- FieldNameLookup.cs
- ExpressionBindingCollection.cs
- TransformedBitmap.cs
- PenLineCapValidation.cs
- SourceChangedEventArgs.cs
- DataBoundControl.cs
- Setter.cs
- Rect3D.cs
- GeneratedView.cs
- InputLanguage.cs
- WindowClosedEventArgs.cs
- TraceRecords.cs
- UInt32Storage.cs
- CatalogPart.cs
- OracleTransaction.cs
- SQLRoleProvider.cs
- RootBrowserWindowAutomationPeer.cs
- FocusManager.cs
- BufferedGraphicsManager.cs
- XmlILModule.cs
- ScriptComponentDescriptor.cs
- WebServiceBindingAttribute.cs
- ToolStripItemCollection.cs
- TokenBasedSet.cs
- TextEffect.cs