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
- UIAgentMonitor.cs
- FeatureSupport.cs
- PopupRootAutomationPeer.cs
- StoreItemCollection.cs
- SchemaTableOptionalColumn.cs
- DocumentViewerConstants.cs
- ListDictionary.cs
- ActionMessageFilter.cs
- LinearGradientBrush.cs
- FormsAuthentication.cs
- XPathDocument.cs
- NativeObjectSecurity.cs
- ErrorActivity.cs
- ControlPaint.cs
- EncryptedHeaderXml.cs
- MediaCommands.cs
- UnitySerializationHolder.cs
- TimeoutHelper.cs
- FamilyCollection.cs
- InternalMappingException.cs
- NativeMethods.cs
- CategoryEditor.cs
- HttpRuntime.cs
- TypeDescriptorContext.cs
- MsmqIntegrationProcessProtocolHandler.cs
- LineGeometry.cs
- CacheDependency.cs
- DataKeyPropertyAttribute.cs
- ElementNotEnabledException.cs
- PrintPreviewDialog.cs
- MaskedTextProvider.cs
- ObjectQueryState.cs
- IHttpResponseInternal.cs
- BuiltInExpr.cs
- TextTreeUndoUnit.cs
- ResourcePool.cs
- ListViewItemSelectionChangedEvent.cs
- Transform.cs
- WebDescriptionAttribute.cs
- LambdaCompiler.cs
- XPathDocument.cs
- CaseInsensitiveOrdinalStringComparer.cs
- WebServiceHandlerFactory.cs
- PauseStoryboard.cs
- NamedElement.cs
- DataGridViewRowStateChangedEventArgs.cs
- CheckableControlBaseAdapter.cs
- FilterException.cs
- File.cs
- StrongNameUtility.cs
- RayMeshGeometry3DHitTestResult.cs
- SchemaNotation.cs
- ApplicationContext.cs
- StorageInfo.cs
- SimpleBitVector32.cs
- HeaderCollection.cs
- XsltSettings.cs
- CompilerGlobalScopeAttribute.cs
- CryptoConfig.cs
- SystemUnicastIPAddressInformation.cs
- FixedDSBuilder.cs
- ProfileGroupSettingsCollection.cs
- Wizard.cs
- WsdlBuildProvider.cs
- CellParaClient.cs
- SafeSecurityHelper.cs
- FieldMetadata.cs
- IERequestCache.cs
- StylusButtonCollection.cs
- CodeTypeParameter.cs
- Privilege.cs
- FontFamilyValueSerializer.cs
- ProcessMessagesAsyncResult.cs
- PageThemeParser.cs
- UnmanagedHandle.cs
- RealizationContext.cs
- FigureParagraph.cs
- ToolStripContentPanelRenderEventArgs.cs
- TemplatedMailWebEventProvider.cs
- XmlReader.cs
- AddInProcess.cs
- ConnectionStringsExpressionBuilder.cs
- ReaderWriterLock.cs
- NotFiniteNumberException.cs
- IndexedSelectQueryOperator.cs
- odbcmetadatacollectionnames.cs
- DataRelationPropertyDescriptor.cs
- ObjectSecurity.cs
- FixedSOMPageElement.cs
- SpecialNameAttribute.cs
- ListViewInsertEventArgs.cs
- Stack.cs
- DPCustomTypeDescriptor.cs
- TdsParser.cs
- SelectedDatesCollection.cs
- ButtonField.cs
- ThicknessKeyFrameCollection.cs
- XmlCustomFormatter.cs
- InputReferenceExpression.cs
- ButtonColumn.cs