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
- StorageMappingItemLoader.cs
- DropShadowBitmapEffect.cs
- FunctionCommandText.cs
- ToolStripTextBox.cs
- PasswordPropertyTextAttribute.cs
- MsmqIntegrationReceiveParameters.cs
- XmlDictionaryReaderQuotas.cs
- UxThemeWrapper.cs
- BindingExpression.cs
- SimpleTypeResolver.cs
- TdsParserSessionPool.cs
- DataSourceHelper.cs
- SharedStatics.cs
- Model3DGroup.cs
- XmlSchemaSet.cs
- StrongNameMembershipCondition.cs
- RectKeyFrameCollection.cs
- Debug.cs
- WebPartMenu.cs
- RewritingProcessor.cs
- TypeBuilder.cs
- DataListCommandEventArgs.cs
- mansign.cs
- RegexCapture.cs
- Binding.cs
- TreeViewTemplateSelector.cs
- StubHelpers.cs
- PageHandlerFactory.cs
- XmlBinaryReader.cs
- StreamReader.cs
- DLinqColumnProvider.cs
- altserialization.cs
- DropTarget.cs
- TableLayoutStyle.cs
- StrokeNodeOperations.cs
- HashCodeCombiner.cs
- BitmapImage.cs
- _OverlappedAsyncResult.cs
- InkCollectionBehavior.cs
- String.cs
- Compiler.cs
- ObjectContextServiceProvider.cs
- VersionedStreamOwner.cs
- MatcherBuilder.cs
- LinkArea.cs
- PointAnimationBase.cs
- Logging.cs
- FormsAuthenticationConfiguration.cs
- EncryptedPackage.cs
- BinaryReader.cs
- Int32Rect.cs
- FormsAuthenticationEventArgs.cs
- WebServiceReceive.cs
- DoubleCollection.cs
- Queue.cs
- InternalCache.cs
- XmlNamespaceMapping.cs
- RuntimeResourceSet.cs
- Literal.cs
- CopyCodeAction.cs
- ProviderConnectionPointCollection.cs
- ComponentSerializationService.cs
- MimeTypeAttribute.cs
- HttpApplication.cs
- CustomErrorsSectionWrapper.cs
- TypeElement.cs
- XsltQilFactory.cs
- ConnectionManagementSection.cs
- CompiledQuery.cs
- BulletChrome.cs
- TypeResolvingOptions.cs
- ConditionBrowserDialog.cs
- AssertSection.cs
- XmlParser.cs
- Quad.cs
- SelectionBorderGlyph.cs
- PageThemeCodeDomTreeGenerator.cs
- FlowThrottle.cs
- WebService.cs
- MailWriter.cs
- ResourceDescriptionAttribute.cs
- ImpersonationContext.cs
- FunctionCommandText.cs
- ObjectNotFoundException.cs
- ObjectListFieldCollection.cs
- WebEvents.cs
- CompensatableSequenceActivity.cs
- COM2PropertyDescriptor.cs
- CryptoConfig.cs
- IgnoreFlushAndCloseStream.cs
- TemplateContent.cs
- Literal.cs
- BamlLocalizerErrorNotifyEventArgs.cs
- ImageField.cs
- ToolStripTemplateNode.cs
- XmlQueryRuntime.cs
- LayoutEngine.cs
- ObjectParameterCollection.cs
- VirtualPathProvider.cs
- RtfFormatStack.cs