Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WebPartDesigner.cs
- ValidatingCollection.cs
- WebResponse.cs
- PrimaryKeyTypeConverter.cs
- QuaternionValueSerializer.cs
- CmsInterop.cs
- DesignTimeTemplateParser.cs
- ColorContextHelper.cs
- UpdateException.cs
- arabicshape.cs
- DataSetMappper.cs
- ProcessProtocolHandler.cs
- PersonalizablePropertyEntry.cs
- BatchServiceHost.cs
- ToolStripHighContrastRenderer.cs
- OdbcPermission.cs
- SkewTransform.cs
- Imaging.cs
- Funcletizer.cs
- X509ChainElement.cs
- DSACryptoServiceProvider.cs
- NumericUpDown.cs
- StrongName.cs
- ExtensibleClassFactory.cs
- SqlBooleanizer.cs
- LightweightEntityWrapper.cs
- ErrorFormatter.cs
- ConfigurationLoader.cs
- NavigatingCancelEventArgs.cs
- PageScaling.cs
- EncoderParameters.cs
- StatusBarAutomationPeer.cs
- documentsequencetextcontainer.cs
- CollectionBase.cs
- XmlValidatingReader.cs
- XslVisitor.cs
- SqlCommand.cs
- TreeViewItem.cs
- mil_commands.cs
- WorkflowMessageEventArgs.cs
- HttpHandlerActionCollection.cs
- NotImplementedException.cs
- Aggregates.cs
- XmlAnyAttributeAttribute.cs
- ReachPageContentCollectionSerializer.cs
- InitializationEventAttribute.cs
- SqlStatistics.cs
- HighContrastHelper.cs
- Type.cs
- Timer.cs
- XmlUtf8RawTextWriter.cs
- DragCompletedEventArgs.cs
- ServiceDiscoveryBehavior.cs
- InstanceCreationEditor.cs
- OdbcConnectionStringbuilder.cs
- SerializationObjectManager.cs
- FontSource.cs
- EmptyReadOnlyDictionaryInternal.cs
- FrameworkContentElement.cs
- InputEventArgs.cs
- ConvertEvent.cs
- SqlDataSourceConfigureSortForm.cs
- LineServicesCallbacks.cs
- PeerResolverBindingElement.cs
- MemoryMappedView.cs
- DataDocumentXPathNavigator.cs
- GridViewAutomationPeer.cs
- WindowsFormsSynchronizationContext.cs
- MetadataCacheItem.cs
- HtmlInputPassword.cs
- HtmlInputPassword.cs
- SiteMapNodeCollection.cs
- SafeHandles.cs
- EventRouteFactory.cs
- DataTableMappingCollection.cs
- UpdateException.cs
- PropertyPushdownHelper.cs
- SQLMoney.cs
- EncodingDataItem.cs
- IdentityHolder.cs
- RealizedColumnsBlock.cs
- StyleXamlParser.cs
- ConfigXmlCDataSection.cs
- HashRepartitionEnumerator.cs
- FigureParaClient.cs
- MultipleViewPattern.cs
- DetailsViewUpdateEventArgs.cs
- IntranetCredentialPolicy.cs
- InheritablePropertyChangeInfo.cs
- DataStreams.cs
- FillErrorEventArgs.cs
- DateTimePicker.cs
- RichTextBoxConstants.cs
- SafeRegistryHandle.cs
- DataControlPagerLinkButton.cs
- EditBehavior.cs
- AnimationStorage.cs
- UInt64Converter.cs
- OLEDB_Util.cs
- SqlMethodAttribute.cs