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
- RolePrincipal.cs
- RelationshipConverter.cs
- ParagraphResult.cs
- MultipartContentParser.cs
- ThemeableAttribute.cs
- FileUtil.cs
- safelinkcollection.cs
- BamlTreeMap.cs
- RegexBoyerMoore.cs
- DebugView.cs
- SecurityContext.cs
- WSAddressing10ProblemHeaderQNameFault.cs
- SecureUICommand.cs
- MediaEntryAttribute.cs
- TreeNodeMouseHoverEvent.cs
- DrawingImage.cs
- PartitionResolver.cs
- ObjectListItem.cs
- Environment.cs
- SqlParameter.cs
- BufferModeSettings.cs
- Track.cs
- KeyBinding.cs
- XmlSchemaGroupRef.cs
- FontFamilyIdentifier.cs
- CombinedGeometry.cs
- ItemMap.cs
- ExpressionDumper.cs
- XamlToRtfWriter.cs
- DeclarationUpdate.cs
- MobileControlDesigner.cs
- CqlParserHelpers.cs
- XmlIlVisitor.cs
- TemplatedMailWebEventProvider.cs
- NetworkAddressChange.cs
- PrinterUnitConvert.cs
- GridViewEditEventArgs.cs
- PropertyCollection.cs
- FactoryId.cs
- LateBoundBitmapDecoder.cs
- SqlCrossApplyToCrossJoin.cs
- BitmapImage.cs
- _IPv6Address.cs
- ItemList.cs
- ClientBuildManager.cs
- CoTaskMemHandle.cs
- TemplateInstanceAttribute.cs
- AutoGeneratedField.cs
- VisualTreeUtils.cs
- KeyToListMap.cs
- ping.cs
- VoiceInfo.cs
- OleDbDataAdapter.cs
- JsonWriterDelegator.cs
- InstanceHandleConflictException.cs
- SQLGuidStorage.cs
- WindowsListViewGroupHelper.cs
- Queue.cs
- ListMarkerLine.cs
- ObjectItemLoadingSessionData.cs
- AccessViolationException.cs
- InfoCardBinaryReader.cs
- TabletCollection.cs
- ThreadInterruptedException.cs
- NetworkInterface.cs
- ProxyHelper.cs
- PackageProperties.cs
- DataPager.cs
- DialogResultConverter.cs
- WSTrust.cs
- BitmapCodecInfo.cs
- XsdValidatingReader.cs
- RefreshEventArgs.cs
- ScriptingProfileServiceSection.cs
- SoapException.cs
- HttpApplicationStateWrapper.cs
- UnsafeNativeMethods.cs
- safemediahandle.cs
- HwndTarget.cs
- DataGridViewHeaderCell.cs
- WindowsStartMenu.cs
- CellCreator.cs
- CustomAttributeBuilder.cs
- TargetException.cs
- WebPartCollection.cs
- BitmapCodecInfo.cs
- BypassElement.cs
- Transform3DCollection.cs
- BuildProvider.cs
- ClientViaElement.cs
- Dictionary.cs
- AbsoluteQuery.cs
- XPathNode.cs
- MessageAction.cs
- ChildTable.cs
- EDesignUtil.cs
- LassoHelper.cs
- TraceProvider.cs
- CallContext.cs
- UnsafeNativeMethods.cs