Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- CollectionViewGroupRoot.cs
- CodeExpressionCollection.cs
- RelationshipSet.cs
- ConnectionManagementSection.cs
- DesignerActionList.cs
- RuntimeHandles.cs
- EarlyBoundInfo.cs
- DocumentGrid.cs
- TranslateTransform3D.cs
- Avt.cs
- Token.cs
- InvalidFilterCriteriaException.cs
- WasAdminWrapper.cs
- LineInfo.cs
- WebExceptionStatus.cs
- StrokeCollection2.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- TdsParserSessionPool.cs
- XamlDesignerSerializationManager.cs
- FileClassifier.cs
- InsufficientExecutionStackException.cs
- TdsParameterSetter.cs
- StringDictionaryWithComparer.cs
- MarkerProperties.cs
- CorrelationInitializer.cs
- MetabaseSettingsIis7.cs
- ParallelTimeline.cs
- SqlCacheDependency.cs
- TreeNodeCollection.cs
- PermissionSet.cs
- FileStream.cs
- SafeNativeMethods.cs
- ListViewGroupConverter.cs
- AudienceUriMode.cs
- NetTcpSecurityElement.cs
- LineUtil.cs
- DrawListViewItemEventArgs.cs
- Pair.cs
- XPathChildIterator.cs
- RenderCapability.cs
- PerformanceCounterPermission.cs
- HttpApplication.cs
- xml.cs
- TogglePattern.cs
- InfoCardKeyedHashAlgorithm.cs
- ZoneMembershipCondition.cs
- ListDictionaryInternal.cs
- ElementProxy.cs
- ColumnMap.cs
- SessionStateSection.cs
- MergablePropertyAttribute.cs
- TextEffect.cs
- Material.cs
- TimeZone.cs
- XPathException.cs
- ResourcePermissionBaseEntry.cs
- RuntimeConfig.cs
- ParserOptions.cs
- PartitionedDataSource.cs
- InternalDispatchObject.cs
- PropertyGroupDescription.cs
- TraceContext.cs
- IntegerFacetDescriptionElement.cs
- HttpChannelBindingToken.cs
- HtmlTableCellCollection.cs
- TableAutomationPeer.cs
- SudsParser.cs
- Properties.cs
- SqlFunctionAttribute.cs
- Thread.cs
- MemoryPressure.cs
- DataGridParentRows.cs
- RawStylusInputCustomDataList.cs
- WebPartRestoreVerb.cs
- TextBlockAutomationPeer.cs
- TreeView.cs
- DetailsViewInsertEventArgs.cs
- EntityDataSourceQueryBuilder.cs
- UIElement3D.cs
- TransformerInfoCollection.cs
- ActiveXContainer.cs
- UIAgentMonitorHandle.cs
- HttpRawResponse.cs
- Inline.cs
- HtmlTable.cs
- NetMsmqBinding.cs
- RecordsAffectedEventArgs.cs
- BitmapEffectGroup.cs
- ServiceCredentials.cs
- TraceHandler.cs
- ResourceCategoryAttribute.cs
- CategoryList.cs
- AppDomainEvidenceFactory.cs
- HGlobalSafeHandle.cs
- DispatcherFrame.cs
- ScrollableControl.cs
- DictionaryKeyPropertyAttribute.cs
- RichTextBox.cs
- ListItemsPage.cs
- JavaScriptSerializer.cs