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
- ParameterBuilder.cs
- PageSetupDialog.cs
- AtomServiceDocumentSerializer.cs
- codemethodreferenceexpression.cs
- FacetChecker.cs
- OutOfProcStateClientManager.cs
- path.cs
- InfoCardBaseException.cs
- DetailsViewUpdatedEventArgs.cs
- SymDocumentType.cs
- ProfessionalColorTable.cs
- ObjectPersistData.cs
- WebColorConverter.cs
- NumberFunctions.cs
- ToolStripSeparator.cs
- DbParameterHelper.cs
- HttpCookie.cs
- BrowserTree.cs
- SplitterDesigner.cs
- XmlSubtreeReader.cs
- SamlAudienceRestrictionCondition.cs
- CredentialCache.cs
- UrlMappingsSection.cs
- RSAOAEPKeyExchangeDeformatter.cs
- UTF32Encoding.cs
- ContextMenu.cs
- Int16Animation.cs
- SpeechSynthesizer.cs
- KoreanCalendar.cs
- QilScopedVisitor.cs
- DLinqAssociationProvider.cs
- JournalNavigationScope.cs
- PropertyGridView.cs
- SHA512.cs
- Metadata.cs
- WebPartTransformer.cs
- EntityDataSourceContainerNameConverter.cs
- HttpServerUtilityWrapper.cs
- UriSchemeKeyedCollection.cs
- ClickablePoint.cs
- ActivityFunc.cs
- ConnectionPoolManager.cs
- ContextProperty.cs
- XPathQilFactory.cs
- _IPv4Address.cs
- EncodingNLS.cs
- EdmTypeAttribute.cs
- HtmlEmptyTagControlBuilder.cs
- StorageSetMapping.cs
- ConfigurationException.cs
- PriorityQueue.cs
- AddDataControlFieldDialog.cs
- DataServiceQueryException.cs
- OperationInvokerTrace.cs
- HtmlInputCheckBox.cs
- ToolStripPanel.cs
- AuthenticateEventArgs.cs
- WebPartRestoreVerb.cs
- UserControl.cs
- ToolBar.cs
- SendMessageRecord.cs
- StringExpressionSet.cs
- UpWmlPageAdapter.cs
- XmlNamespaceManager.cs
- RowVisual.cs
- Compiler.cs
- ReferencedType.cs
- RemotingConfigParser.cs
- DecimalConverter.cs
- StrokeNodeOperations.cs
- CursorConverter.cs
- LogSwitch.cs
- X509Utils.cs
- filewebrequest.cs
- NotifyParentPropertyAttribute.cs
- ForeignConstraint.cs
- PointCollectionValueSerializer.cs
- DbConnectionPoolGroupProviderInfo.cs
- CircleEase.cs
- ListDictionary.cs
- CellParagraph.cs
- Size3D.cs
- RoleGroupCollection.cs
- MetadataArtifactLoaderResource.cs
- CmsUtils.cs
- TextCollapsingProperties.cs
- CodePrimitiveExpression.cs
- DesignSurface.cs
- KeyboardDevice.cs
- ContextMenuStrip.cs
- ComboBox.cs
- AnimationClockResource.cs
- LicenseException.cs
- GlyphRunDrawing.cs
- HostingEnvironmentException.cs
- NestPullup.cs
- TreeIterators.cs
- BamlLocalizabilityResolver.cs
- Calendar.cs
- MenuCommandService.cs