Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- FileAuthorizationModule.cs
- ListControlBoundActionList.cs
- DialogResultConverter.cs
- ListViewEditEventArgs.cs
- RegexCompilationInfo.cs
- MoveSizeWinEventHandler.cs
- ZeroOpNode.cs
- StyleCollection.cs
- ProcessHostFactoryHelper.cs
- ControlCachePolicy.cs
- DataServiceResponse.cs
- WindowsAuthenticationEventArgs.cs
- Signature.cs
- SimpleWorkerRequest.cs
- CounterSample.cs
- CachedPathData.cs
- TableHeaderCell.cs
- WebPartMovingEventArgs.cs
- configsystem.cs
- Publisher.cs
- ThousandthOfEmRealPoints.cs
- Int64KeyFrameCollection.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- DashStyle.cs
- InstanceData.cs
- WindowsEditBoxRange.cs
- VerificationAttribute.cs
- C14NUtil.cs
- HttpCapabilitiesBase.cs
- ExternalDataExchangeClient.cs
- DataColumnMapping.cs
- Environment.cs
- WebPart.cs
- MultipleViewPatternIdentifiers.cs
- ParallelTimeline.cs
- UserValidatedEventArgs.cs
- PngBitmapDecoder.cs
- ResXFileRef.cs
- DelegateBodyWriter.cs
- DispatchWrapper.cs
- UserControlCodeDomTreeGenerator.cs
- SimplePropertyEntry.cs
- DiagnosticsConfigurationHandler.cs
- LicenseContext.cs
- DictionarySectionHandler.cs
- FontFamilyIdentifier.cs
- Fonts.cs
- SchemaType.cs
- SafeViewOfFileHandle.cs
- TransactionScopeDesigner.cs
- SingleBodyParameterMessageFormatter.cs
- TcpHostedTransportConfiguration.cs
- GroupDescription.cs
- ColumnMap.cs
- ObjectSet.cs
- cookieexception.cs
- HierarchicalDataTemplate.cs
- StrokeRenderer.cs
- SeekStoryboard.cs
- TextEffectCollection.cs
- EmptyCollection.cs
- DecoderFallback.cs
- PhysicalOps.cs
- ListView.cs
- NavigationProperty.cs
- EndpointConfigContainer.cs
- ResolvedKeyFrameEntry.cs
- ToolStripCodeDomSerializer.cs
- CellQuery.cs
- TextTrailingCharacterEllipsis.cs
- CancelEventArgs.cs
- KerberosRequestorSecurityTokenAuthenticator.cs
- GenericTypeParameterBuilder.cs
- RequestContextBase.cs
- StretchValidation.cs
- DescendentsWalker.cs
- CriticalHandle.cs
- OdbcConnection.cs
- XmlComplianceUtil.cs
- PerformanceCounterPermissionEntry.cs
- altserialization.cs
- DurableInstanceContextProvider.cs
- AsymmetricSecurityBindingElement.cs
- Attributes.cs
- WebBodyFormatMessageProperty.cs
- RepeatButton.cs
- IgnoreFlushAndCloseStream.cs
- PrivilegeNotHeldException.cs
- LiteralControl.cs
- ButtonChrome.cs
- StructuredTypeEmitter.cs
- WpfGeneratedKnownProperties.cs
- DocumentGridContextMenu.cs
- SqlDataSourceSelectingEventArgs.cs
- LightweightEntityWrapper.cs
- Listbox.cs
- XmlExtensionFunction.cs
- ProxyWebPartManager.cs
- BrowserDefinition.cs
- MergablePropertyAttribute.cs