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
- SmiMetaData.cs
- mediapermission.cs
- PackagePart.cs
- SecurityManager.cs
- XmlNode.cs
- ListenDesigner.cs
- OpenTypeCommon.cs
- PageThemeParser.cs
- ToolStripDropDownClosedEventArgs.cs
- QueryResponse.cs
- ClipboardProcessor.cs
- TextAutomationPeer.cs
- StrokeRenderer.cs
- ComboBox.cs
- GlyphTypeface.cs
- FixedSOMImage.cs
- Hex.cs
- HTTPNotFoundHandler.cs
- CacheDependency.cs
- DefaultProxySection.cs
- DataGridPageChangedEventArgs.cs
- EnumMemberAttribute.cs
- SubMenuStyleCollection.cs
- OutputCacheSettings.cs
- BindingCompleteEventArgs.cs
- Screen.cs
- DataTableClearEvent.cs
- IsolatedStorage.cs
- WebServicesDescriptionAttribute.cs
- AssemblyLoader.cs
- BaseCAMarshaler.cs
- DateTimeStorage.cs
- Parser.cs
- IPEndPoint.cs
- PagesSection.cs
- TreeSet.cs
- Reference.cs
- RowType.cs
- Part.cs
- TemplateControlCodeDomTreeGenerator.cs
- BaseCodeDomTreeGenerator.cs
- TypeInitializationException.cs
- ISessionStateStore.cs
- ProcessHostConfigUtils.cs
- FixedFlowMap.cs
- SelectionRange.cs
- BitmapCache.cs
- DigestComparer.cs
- odbcmetadatacollectionnames.cs
- UidPropertyAttribute.cs
- DataSourceView.cs
- ApplicationSecurityInfo.cs
- TranslateTransform3D.cs
- SplitterCancelEvent.cs
- PositiveTimeSpanValidatorAttribute.cs
- RoutedEventArgs.cs
- QueryableDataSourceEditData.cs
- ProfileEventArgs.cs
- VariantWrapper.cs
- LinkAreaEditor.cs
- ServiceOperation.cs
- TreeNodeCollectionEditor.cs
- AsyncPostBackErrorEventArgs.cs
- EventLogQuery.cs
- RadioButtonPopupAdapter.cs
- CodeDirectionExpression.cs
- odbcmetadatacolumnnames.cs
- GradientBrush.cs
- TreeView.cs
- SQLUtility.cs
- XmlSchemaGroup.cs
- Internal.cs
- XPathNavigator.cs
- ThrowHelper.cs
- IdentityReference.cs
- TableRowGroup.cs
- GCHandleCookieTable.cs
- XmlObjectSerializerWriteContextComplex.cs
- DesignTimeType.cs
- Int16Converter.cs
- SymbolDocumentInfo.cs
- BitmapEffectGroup.cs
- SchemaImporterExtensionElement.cs
- TraceInternal.cs
- OpCodes.cs
- CodeAttributeDeclaration.cs
- DataDesignUtil.cs
- SamlSubjectStatement.cs
- PenThreadPool.cs
- RemoteWebConfigurationHost.cs
- ProviderConnectionPointCollection.cs
- SqlCacheDependencyDatabaseCollection.cs
- BinaryObjectInfo.cs
- DesignerToolStripControlHost.cs
- VarRemapper.cs
- TraceListener.cs
- TextCharacters.cs
- Signature.cs
- ResponseStream.cs
- basecomparevalidator.cs