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
- Vars.cs
- DefaultAsyncDataDispatcher.cs
- RectAnimation.cs
- Command.cs
- followingquery.cs
- DataGridParentRows.cs
- QueryTreeBuilder.cs
- DeviceContext.cs
- TdsParserSafeHandles.cs
- ImageSourceConverter.cs
- CachingHintValidation.cs
- MachineKeyConverter.cs
- AdRotator.cs
- OutputCacheSettings.cs
- TranslateTransform3D.cs
- DependencyPropertyDescriptor.cs
- XPathQilFactory.cs
- EdmType.cs
- MenuTracker.cs
- TemplateColumn.cs
- OutputScope.cs
- MailAddress.cs
- DbProviderSpecificTypePropertyAttribute.cs
- ECDiffieHellmanCngPublicKey.cs
- PropertyInformation.cs
- XPathScanner.cs
- securitycriticaldata.cs
- InheritedPropertyDescriptor.cs
- InternalSafeNativeMethods.cs
- EntityContainerEmitter.cs
- InkPresenterAutomationPeer.cs
- ObjectListItem.cs
- WindowsIdentity.cs
- ShutDownListener.cs
- DesignerGenericWebPart.cs
- ListBindingConverter.cs
- Claim.cs
- BindUriHelper.cs
- XmlAttributeProperties.cs
- ComNativeDescriptor.cs
- EnumBuilder.cs
- ADMembershipUser.cs
- Quad.cs
- Control.cs
- LinqTreeNodeEvaluator.cs
- FixedDocumentPaginator.cs
- DataKeyCollection.cs
- BooleanConverter.cs
- UnionCqlBlock.cs
- DoubleAnimation.cs
- _ListenerAsyncResult.cs
- DiscoveryReferences.cs
- RoleService.cs
- SingleResultAttribute.cs
- ChannelDispatcher.cs
- Pen.cs
- OdbcEnvironmentHandle.cs
- TypeDefinition.cs
- SelectingProviderEventArgs.cs
- ProjectionCamera.cs
- SharedUtils.cs
- HttpModulesSection.cs
- OleDbParameter.cs
- GenerateScriptTypeAttribute.cs
- CompilerGlobalScopeAttribute.cs
- TypeGeneratedEventArgs.cs
- ExceptionHandlers.cs
- IdleTimeoutMonitor.cs
- DataSourceCacheDurationConverter.cs
- ColumnMapVisitor.cs
- SinglePageViewer.cs
- GB18030Encoding.cs
- FilterRepeater.cs
- DictionaryEntry.cs
- GenericRootAutomationPeer.cs
- SmiEventSink_DeferedProcessing.cs
- Brushes.cs
- OdbcErrorCollection.cs
- InvalidPrinterException.cs
- MatrixConverter.cs
- MultiPartWriter.cs
- GZipDecoder.cs
- XPathCompileException.cs
- Pair.cs
- DispatcherEventArgs.cs
- StatusBarAutomationPeer.cs
- SessionStateUtil.cs
- DelegateSerializationHolder.cs
- DefaultValueMapping.cs
- MexTcpBindingElement.cs
- SafeNativeMethods.cs
- DesigntimeLicenseContextSerializer.cs
- ContentType.cs
- DataSysAttribute.cs
- IndexObject.cs
- ProtectedConfigurationProviderCollection.cs
- GridViewDeleteEventArgs.cs
- MessageSecurityOverMsmq.cs
- NodeLabelEditEvent.cs
- PersonalizationDictionary.cs