Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / IO / EndOfStreamException.cs / 1305376 / 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); } [System.Security.SecuritySafeCritical] // auto-generated 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); } [System.Security.SecuritySafeCritical] // auto-generated 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
- WebPartCatalogAddVerb.cs
- SplitContainer.cs
- StyleXamlTreeBuilder.cs
- ToolStripSplitStackLayout.cs
- SchemaConstraints.cs
- HeaderCollection.cs
- DrawingState.cs
- TreeNodeCollection.cs
- SQLConvert.cs
- mansign.cs
- BinaryFormatterWriter.cs
- StaticTextPointer.cs
- DBConcurrencyException.cs
- RegisteredArrayDeclaration.cs
- FormClosingEvent.cs
- ModifiableIteratorCollection.cs
- FileUpload.cs
- BinaryEditor.cs
- NetworkInterface.cs
- StaticFileHandler.cs
- SystemWebCachingSectionGroup.cs
- StaticResourceExtension.cs
- GacUtil.cs
- ObjectDataSourceChooseMethodsPanel.cs
- InstalledFontCollection.cs
- VarInfo.cs
- SectionUpdates.cs
- ReliableOutputConnection.cs
- ProtocolsConfiguration.cs
- BookmarkUndoUnit.cs
- PropertyInformationCollection.cs
- WebDescriptionAttribute.cs
- AllMembershipCondition.cs
- DetectEofStream.cs
- documentsequencetextpointer.cs
- NameValueConfigurationElement.cs
- ClientSponsor.cs
- DataObjectCopyingEventArgs.cs
- SessionIDManager.cs
- XamlStream.cs
- AssemblyAttributesGoHere.cs
- ToolboxControl.cs
- StateMachineWorkflowInstance.cs
- StringCollectionMarkupSerializer.cs
- updatecommandorderer.cs
- RawStylusSystemGestureInputReport.cs
- EncoderParameters.cs
- AssertSection.cs
- StaticFileHandler.cs
- Clipboard.cs
- ScrollItemPatternIdentifiers.cs
- NumberFunctions.cs
- ReaderWriterLock.cs
- OrderedDictionary.cs
- HttpCapabilitiesSectionHandler.cs
- Rule.cs
- parserscommon.cs
- SortDescription.cs
- WsatTransactionFormatter.cs
- LoginUtil.cs
- SwitchAttribute.cs
- DataTableExtensions.cs
- SmiEventSink.cs
- GatewayDefinition.cs
- DbProviderSpecificTypePropertyAttribute.cs
- XmlAnyAttributeAttribute.cs
- DefaultValueAttribute.cs
- TimeSpan.cs
- EnumConverter.cs
- ObjectAnimationUsingKeyFrames.cs
- ProfileGroupSettings.cs
- DocumentApplicationState.cs
- SaveFileDialogDesigner.cs
- SerializationInfoEnumerator.cs
- PersistenceException.cs
- DataGridViewHeaderCell.cs
- PipelineModuleStepContainer.cs
- TrackingServices.cs
- SerializationInfo.cs
- GlyphRunDrawing.cs
- transactioncontext.cs
- Shape.cs
- Trigger.cs
- _IPv4Address.cs
- Int32.cs
- OdbcErrorCollection.cs
- XPathNavigator.cs
- MessagePropertyAttribute.cs
- Propagator.Evaluator.cs
- DataGridItemEventArgs.cs
- AmbientProperties.cs
- RadioButtonPopupAdapter.cs
- TreeNodeCollection.cs
- GridViewCommandEventArgs.cs
- TextTreeObjectNode.cs
- NavigationFailedEventArgs.cs
- SqlProviderServices.cs
- ToolStripArrowRenderEventArgs.cs
- HandleCollector.cs
- SqlMetaData.cs