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
- PolicyImporterElement.cs
- ContentElement.cs
- DomNameTable.cs
- TreeIterators.cs
- ColorContext.cs
- NativeWrapper.cs
- StaticFileHandler.cs
- ToolStripItemBehavior.cs
- RuleEngine.cs
- Mapping.cs
- OracleBinary.cs
- FrameworkElementFactory.cs
- FormatSettings.cs
- ControlBuilder.cs
- TreeNodeSelectionProcessor.cs
- Perspective.cs
- AuthenticationConfig.cs
- AlternateViewCollection.cs
- ProxySimple.cs
- AutomationProperty.cs
- DataGridTableCollection.cs
- CapabilitiesUse.cs
- EnumerableRowCollectionExtensions.cs
- ReceiveMessageRecord.cs
- EntityConnection.cs
- DataGridViewSelectedRowCollection.cs
- HttpClientChannel.cs
- SystemWebSectionGroup.cs
- TableRow.cs
- ExpandoObject.cs
- AssociationEndMember.cs
- QilTernary.cs
- MessageSecurityOverHttpElement.cs
- Font.cs
- SourceFilter.cs
- SqlDataSourceEnumerator.cs
- CheckBoxList.cs
- SymbolEqualComparer.cs
- ServicesSection.cs
- MimeBasePart.cs
- RandomNumberGenerator.cs
- Shared.cs
- BinaryObjectInfo.cs
- PreviewPageInfo.cs
- CookieProtection.cs
- input.cs
- StringFormat.cs
- namescope.cs
- XmlILConstructAnalyzer.cs
- DeferredTextReference.cs
- CodeAccessSecurityEngine.cs
- IPAddress.cs
- Parallel.cs
- DoubleLink.cs
- PrePostDescendentsWalker.cs
- Listener.cs
- ColumnCollection.cs
- EncoderFallback.cs
- MetabaseSettingsIis7.cs
- FacetEnabledSchemaElement.cs
- KeyboardNavigation.cs
- ScrollEventArgs.cs
- ReachPageContentSerializer.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- RTLAwareMessageBox.cs
- CompressedStack.cs
- ImageSourceValueSerializer.cs
- CodeMemberEvent.cs
- smtpconnection.cs
- ComplexType.cs
- ReflectionServiceProvider.cs
- UnsafeNativeMethods.cs
- LicFileLicenseProvider.cs
- X509CertificateCollection.cs
- InstanceDataCollectionCollection.cs
- CardSpaceException.cs
- XmlQueryTypeFactory.cs
- NameValuePair.cs
- util.cs
- AddingNewEventArgs.cs
- StylusShape.cs
- EFDataModelProvider.cs
- RepeaterItem.cs
- ControllableStoryboardAction.cs
- Predicate.cs
- CheckBoxPopupAdapter.cs
- GC.cs
- TextTreeTextNode.cs
- UdpDiscoveryEndpoint.cs
- InkCanvasAutomationPeer.cs
- TextStore.cs
- Policy.cs
- CompiledRegexRunnerFactory.cs
- ListViewInsertedEventArgs.cs
- RijndaelManaged.cs
- XAMLParseException.cs
- ThreadStartException.cs
- CaseStatement.cs
- PageParserFilter.cs
- AffineTransform3D.cs