Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Geometry3D.cs
- FlowNode.cs
- SimpleMailWebEventProvider.cs
- MonitoringDescriptionAttribute.cs
- SrgsOneOf.cs
- TrackingWorkflowEventArgs.cs
- CopyOfAction.cs
- ComponentResourceManager.cs
- DataGridViewComboBoxEditingControl.cs
- StaticContext.cs
- MeasureItemEvent.cs
- StylusSystemGestureEventArgs.cs
- XmlEventCache.cs
- TreeNodeCollection.cs
- _DomainName.cs
- XamlWriterExtensions.cs
- InputMethodStateTypeInfo.cs
- ExclusiveHandle.cs
- SourceFilter.cs
- Lock.cs
- PtsHost.cs
- StringConverter.cs
- DictationGrammar.cs
- ServiceTimeoutsElement.cs
- InputReport.cs
- OleDbConnectionInternal.cs
- Stylus.cs
- TrustLevel.cs
- EntityContainerRelationshipSet.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- SystemBrushes.cs
- HashUtility.cs
- XmlObjectSerializer.cs
- GregorianCalendar.cs
- _SslStream.cs
- WebPartConnectionsEventArgs.cs
- AppDomainResourcePerfCounters.cs
- DataColumn.cs
- X509CertificateInitiatorClientCredential.cs
- DeviceSpecificDesigner.cs
- SafeNativeMethodsOther.cs
- XmlILConstructAnalyzer.cs
- Decimal.cs
- EmptyStringExpandableObjectConverter.cs
- Vector3D.cs
- SqlBooleanizer.cs
- Console.cs
- EventSinkHelperWriter.cs
- StringPropertyBuilder.cs
- GenerateScriptTypeAttribute.cs
- XmlSchemaInfo.cs
- RuntimeHelpers.cs
- ColorMatrix.cs
- Converter.cs
- Preprocessor.cs
- EmptyQuery.cs
- FileAuthorizationModule.cs
- ProcessStartInfo.cs
- HighlightVisual.cs
- BufferBuilder.cs
- ComplexPropertyEntry.cs
- AnchoredBlock.cs
- ReachSerializer.cs
- ListManagerBindingsCollection.cs
- OleTxTransaction.cs
- Timer.cs
- OwnerDrawPropertyBag.cs
- ThousandthOfEmRealDoubles.cs
- IHttpResponseInternal.cs
- EditingCommands.cs
- EntitySetBase.cs
- FormsAuthenticationUserCollection.cs
- JpegBitmapEncoder.cs
- MessagePropertyVariants.cs
- Mutex.cs
- NegatedCellConstant.cs
- UIElement.cs
- SafeReversePInvokeHandle.cs
- SplineQuaternionKeyFrame.cs
- MetadataItemCollectionFactory.cs
- SmiEventStream.cs
- HitTestWithGeometryDrawingContextWalker.cs
- WorkflowOperationBehavior.cs
- ListChangedEventArgs.cs
- SortQuery.cs
- HtmlInputFile.cs
- QilTernary.cs
- GeneralTransformGroup.cs
- OleDbInfoMessageEvent.cs
- TimeManager.cs
- ProxyAttribute.cs
- TextEffect.cs
- TextEffectCollection.cs
- PathTooLongException.cs
- EndEvent.cs
- OledbConnectionStringbuilder.cs
- AssertFilter.cs
- EnumerableRowCollection.cs
- DeliveryRequirementsAttribute.cs
- CultureTable.cs