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
- odbcmetadatafactory.cs
- HMAC.cs
- MissingManifestResourceException.cs
- EntryIndex.cs
- mda.cs
- ProfileProvider.cs
- View.cs
- ThreadStaticAttribute.cs
- FieldBuilder.cs
- FileLogRecordStream.cs
- GeneralTransform3DGroup.cs
- CustomAttribute.cs
- DataRowCollection.cs
- DependencyPropertyDescriptor.cs
- WebResourceUtil.cs
- SoapMessage.cs
- DbConnectionStringCommon.cs
- HostProtectionException.cs
- Size3D.cs
- DetailsViewUpdateEventArgs.cs
- SapiRecoInterop.cs
- BaseProcessProtocolHandler.cs
- UshortList2.cs
- LeftCellWrapper.cs
- HttpCacheVary.cs
- QilNode.cs
- WebOperationContext.cs
- HtmlTernaryTree.cs
- SqlTopReducer.cs
- ImageClickEventArgs.cs
- SqlFunctions.cs
- ListViewVirtualItemsSelectionRangeChangedEvent.cs
- DataGridViewRowsAddedEventArgs.cs
- TitleStyle.cs
- XmlDocumentSerializer.cs
- PrivateFontCollection.cs
- HttpClientCertificate.cs
- EmptyImpersonationContext.cs
- ValidatorUtils.cs
- ConfigurationStrings.cs
- SchemaElementLookUpTable.cs
- DocumentViewerBase.cs
- ZoneLinkButton.cs
- ImportRequest.cs
- PrivateFontCollection.cs
- HttpHandlerActionCollection.cs
- BinaryEditor.cs
- SingleObjectCollection.cs
- RemotingConfiguration.cs
- ISSmlParser.cs
- EventManager.cs
- CSharpCodeProvider.cs
- TextCharacters.cs
- Trace.cs
- MsmqProcessProtocolHandler.cs
- AxisAngleRotation3D.cs
- OdbcConnection.cs
- SoapExtensionTypeElementCollection.cs
- TemplateXamlParser.cs
- PageStatePersister.cs
- WebConfigurationHostFileChange.cs
- TreeViewImageIndexConverter.cs
- ElementFactory.cs
- ValueConversionAttribute.cs
- SoapObjectWriter.cs
- JoinTreeNode.cs
- ScriptingAuthenticationServiceSection.cs
- WindowsTokenRoleProvider.cs
- SystemWebCachingSectionGroup.cs
- CreateUserWizardStep.cs
- RegexWorker.cs
- Label.cs
- FamilyTypeface.cs
- TypeDescriptionProvider.cs
- PermissionSetTriple.cs
- ResourcesBuildProvider.cs
- ReceiveActivity.cs
- PieceDirectory.cs
- EnvelopeVersion.cs
- GridView.cs
- ImageSource.cs
- WindowInteropHelper.cs
- IFlowDocumentViewer.cs
- StylusPoint.cs
- Quaternion.cs
- InvokeDelegate.cs
- ToolBarButton.cs
- MutexSecurity.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- XmlTextReaderImpl.cs
- DataSourceCache.cs
- DataGridPageChangedEventArgs.cs
- Double.cs
- UnsafeNativeMethods.cs
- IfJoinedCondition.cs
- FixedSOMImage.cs
- Location.cs
- LocalizationParserHooks.cs
- base64Transforms.cs
- DataBindingCollection.cs