Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / 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) { } } }
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ZipPackage.cs
- PlatformCulture.cs
- UserInitiatedRoutedEventPermissionAttribute.cs
- SerializationInfoEnumerator.cs
- XmlSerializerSection.cs
- FontStyle.cs
- EventToken.cs
- BindingsCollection.cs
- PeerCollaborationPermission.cs
- SqlWorkflowPersistenceService.cs
- CodeMemberProperty.cs
- DesignerTransactionCloseEvent.cs
- HttpConfigurationContext.cs
- PropertyPushdownHelper.cs
- MatrixTransform.cs
- TemplatePartAttribute.cs
- PropertyChangeTracker.cs
- ActivityCodeDomReferenceService.cs
- WorkflowTraceTransfer.cs
- XpsSerializerFactory.cs
- DataGridViewCellErrorTextNeededEventArgs.cs
- UnknownBitmapDecoder.cs
- SessionEndedEventArgs.cs
- RepeatButtonAutomationPeer.cs
- Token.cs
- SchemaImporterExtensionsSection.cs
- ConnectionManagementElement.cs
- _AutoWebProxyScriptHelper.cs
- ConfigurationManagerHelperFactory.cs
- HttpModuleActionCollection.cs
- CreateParams.cs
- DataGridViewAdvancedBorderStyle.cs
- SmtpLoginAuthenticationModule.cs
- Constants.cs
- VSWCFServiceContractGenerator.cs
- SByteConverter.cs
- _SpnDictionary.cs
- FeatureSupport.cs
- AddInControllerImpl.cs
- StringUtil.cs
- BaseDataBoundControl.cs
- XmlQueryOutput.cs
- LinqExpressionNormalizer.cs
- ControlBuilder.cs
- ColumnCollection.cs
- WebPartTransformerAttribute.cs
- LogicalExpr.cs
- MultipartIdentifier.cs
- OleDbFactory.cs
- HashSetDebugView.cs
- CodePageEncoding.cs
- CancellationTokenRegistration.cs
- TreeView.cs
- QueryGenerator.cs
- XmlArrayItemAttribute.cs
- ClientRuntimeConfig.cs
- CompilerResults.cs
- QueryStringParameter.cs
- Accessible.cs
- KeyEvent.cs
- ResourceAttributes.cs
- FileDialog_Vista.cs
- RoleServiceManager.cs
- TimelineGroup.cs
- ObjectDataSourceMethodEventArgs.cs
- TransformerTypeCollection.cs
- ETagAttribute.cs
- WindowsClaimSet.cs
- DummyDataSource.cs
- DataSourceDescriptorCollection.cs
- FontInfo.cs
- TransformGroup.cs
- ChooseAction.cs
- DownloadProgressEventArgs.cs
- EntityContainerEntitySet.cs
- EncoderBestFitFallback.cs
- SvcMapFileSerializer.cs
- ToolStripSplitButton.cs
- StringComparer.cs
- XmlBindingWorker.cs
- CodeEntryPointMethod.cs
- AliasGenerator.cs
- M3DUtil.cs
- XmlNavigatorFilter.cs
- XmlValidatingReader.cs
- TypeToken.cs
- DataGrid.cs
- EnumType.cs
- HotCommands.cs
- X509CertificateInitiatorServiceCredential.cs
- IdentityModelStringsVersion1.cs
- ToolBarButtonClickEvent.cs
- MaskedTextBox.cs
- TypefaceCollection.cs
- PropertyToken.cs
- DbExpressionRules.cs
- ProcessThread.cs
- UpDownEvent.cs
- OleDbTransaction.cs
- StructuredTypeInfo.cs