Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / whidbey / NetFXspW7 / 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
- ObjectItemCollectionAssemblyCacheEntry.cs
- SubpageParaClient.cs
- WebReferenceCollection.cs
- ExpressionBuilder.cs
- ActivityTypeDesigner.xaml.cs
- ControlValuePropertyAttribute.cs
- MultiSelectRootGridEntry.cs
- baseaxisquery.cs
- BridgeDataReader.cs
- CheckBox.cs
- SqlCommandSet.cs
- FixedDocumentSequencePaginator.cs
- DetailsViewDesigner.cs
- ThrowOnMultipleAssignment.cs
- PropertyValueUIItem.cs
- HMACRIPEMD160.cs
- AsymmetricSecurityBindingElement.cs
- ServicePrincipalNameElement.cs
- TreeNodeMouseHoverEvent.cs
- DecoderBestFitFallback.cs
- Condition.cs
- BooleanConverter.cs
- ChtmlPhoneCallAdapter.cs
- DataGridViewCellPaintingEventArgs.cs
- ConvertEvent.cs
- ToolStripItemBehavior.cs
- SamlAuthorizationDecisionStatement.cs
- ResourceExpressionBuilder.cs
- Instrumentation.cs
- MultipartContentParser.cs
- ObjectMemberMapping.cs
- FileUtil.cs
- KerberosRequestorSecurityToken.cs
- DebugView.cs
- MessageBox.cs
- SqlFunctions.cs
- SetStoryboardSpeedRatio.cs
- XamlSerializerUtil.cs
- _PooledStream.cs
- ColumnResult.cs
- OleDbConnectionFactory.cs
- ObjectStateManager.cs
- SimpleHandlerBuildProvider.cs
- StoragePropertyMapping.cs
- PropertyInfoSet.cs
- HijriCalendar.cs
- HwndHostAutomationPeer.cs
- ByteArrayHelperWithString.cs
- TableRow.cs
- UiaCoreApi.cs
- EntityStoreSchemaFilterEntry.cs
- X509ThumbprintKeyIdentifierClause.cs
- X509Utils.cs
- AsyncOperationManager.cs
- TripleDESCryptoServiceProvider.cs
- SqlUtils.cs
- UnsafeNativeMethods.cs
- DefaultHttpHandler.cs
- MatchAllMessageFilter.cs
- TemplatedMailWebEventProvider.cs
- RootProfilePropertySettingsCollection.cs
- DataSourceControlBuilder.cs
- BitmapSizeOptions.cs
- MetadataLocation.cs
- DetailsViewInsertEventArgs.cs
- DataGridItemEventArgs.cs
- ListViewPagedDataSource.cs
- Rect3D.cs
- ItemsControl.cs
- TemplateParser.cs
- ThousandthOfEmRealDoubles.cs
- ControlBuilder.cs
- InputBuffer.cs
- CodeConstructor.cs
- Cursors.cs
- DataGridViewTextBoxColumn.cs
- SqlFacetAttribute.cs
- InheritanceService.cs
- MoveSizeWinEventHandler.cs
- PasswordTextNavigator.cs
- AppDomainAttributes.cs
- SamlAuthenticationStatement.cs
- ProcessProtocolHandler.cs
- IntSecurity.cs
- XmlMemberMapping.cs
- CatalogZone.cs
- AmbientValueAttribute.cs
- XmlDataDocument.cs
- WebPartEditorCancelVerb.cs
- MimeReturn.cs
- HostElement.cs
- GiveFeedbackEvent.cs
- ClockGroup.cs
- ReadOnlyTernaryTree.cs
- XsdValidatingReader.cs
- SqlDataSourceQuery.cs
- DBCommandBuilder.cs
- WebException.cs
- EastAsianLunisolarCalendar.cs
- WSFederationHttpSecurityMode.cs