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
- TraceSection.cs
- SeparatorAutomationPeer.cs
- PackageDigitalSignature.cs
- DataColumnMapping.cs
- ErrorFormatterPage.cs
- RecordsAffectedEventArgs.cs
- AssertSection.cs
- TrustManager.cs
- StrongNameUtility.cs
- SortedList.cs
- ContextInformation.cs
- SqlDataAdapter.cs
- IsolatedStoragePermission.cs
- PropertyMetadata.cs
- BatchWriter.cs
- DrawingCollection.cs
- FrameworkElementAutomationPeer.cs
- MarkupProperty.cs
- MasterPageBuildProvider.cs
- WebCategoryAttribute.cs
- XPathAncestorQuery.cs
- ListDesigner.cs
- XmlSerializableReader.cs
- TreeViewItemAutomationPeer.cs
- PrintDialogException.cs
- QuaternionAnimation.cs
- ObjectStateEntry.cs
- DocumentGridContextMenu.cs
- ManagementOptions.cs
- DelegatingTypeDescriptionProvider.cs
- ContextMenu.cs
- DescriptionAttribute.cs
- ProviderCommandInfoUtils.cs
- WebContext.cs
- ItemCollection.cs
- SubMenuStyleCollection.cs
- Timeline.cs
- ReliableDuplexSessionChannel.cs
- contentDescriptor.cs
- UrlMappingsModule.cs
- PositiveTimeSpanValidator.cs
- InfoCardArgumentException.cs
- LinqDataSourceContextData.cs
- MultiBindingExpression.cs
- AsyncOperation.cs
- ListViewItemMouseHoverEvent.cs
- TemplateControlParser.cs
- ObjectPersistData.cs
- DataGridLengthConverter.cs
- Messages.cs
- MatrixStack.cs
- ConfigXmlWhitespace.cs
- DefaultParameterValueAttribute.cs
- TextEditorCopyPaste.cs
- ValidationResult.cs
- DeflateStream.cs
- RenderTargetBitmap.cs
- SessionParameter.cs
- LineProperties.cs
- CommandField.cs
- SafeCryptContextHandle.cs
- OleDbPermission.cs
- DecimalAnimation.cs
- JsonEncodingStreamWrapper.cs
- ServiceHttpHandlerFactory.cs
- CellConstantDomain.cs
- RuntimeConfigLKG.cs
- SocketStream.cs
- ProtocolsConfiguration.cs
- ColorConvertedBitmap.cs
- CodeGeneratorOptions.cs
- DoubleAnimation.cs
- SafeIUnknown.cs
- NameObjectCollectionBase.cs
- dbenumerator.cs
- remotingproxy.cs
- TargetControlTypeCache.cs
- SQLInt32.cs
- ClientTargetSection.cs
- BamlRecordHelper.cs
- BitmapData.cs
- Helper.cs
- TranslateTransform.cs
- LightweightEntityWrapper.cs
- XsdDataContractImporter.cs
- DataGridViewCellCancelEventArgs.cs
- IntegerValidator.cs
- PopupRoot.cs
- OleDbFactory.cs
- SecurityToken.cs
- RequestCacheEntry.cs
- IDQuery.cs
- StylusEventArgs.cs
- ConditionValidator.cs
- UInt32.cs
- LassoHelper.cs
- EncoderBestFitFallback.cs
- WebBrowserContainer.cs
- EntityDataReader.cs
- ToolboxItem.cs