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
- EntityDataSourceStatementEditor.cs
- SubMenuStyle.cs
- ConvertTextFrag.cs
- ParserContext.cs
- PrintPageEvent.cs
- DbConnectionStringCommon.cs
- WebPartDisplayMode.cs
- DataRecord.cs
- EntityProxyTypeInfo.cs
- BrowserTree.cs
- StorageComplexTypeMapping.cs
- DesignerActionUIStateChangeEventArgs.cs
- OdbcConnectionFactory.cs
- MouseActionConverter.cs
- TraceSection.cs
- ToolboxItemCollection.cs
- ClientRolePrincipal.cs
- StringCollectionEditor.cs
- DocumentPageViewAutomationPeer.cs
- NavigationCommands.cs
- MiniConstructorInfo.cs
- CompilerCollection.cs
- FastEncoder.cs
- DocumentPageViewAutomationPeer.cs
- TableCell.cs
- TypeExtensionConverter.cs
- MessageSecurityTokenVersion.cs
- TypeConverter.cs
- RedBlackList.cs
- ExpressionPrinter.cs
- StoryFragments.cs
- SamlConstants.cs
- RenderingBiasValidation.cs
- OrthographicCamera.cs
- Model3DCollection.cs
- KeyToListMap.cs
- UTF8Encoding.cs
- ItemCollection.cs
- RegisteredExpandoAttribute.cs
- RSAPKCS1KeyExchangeFormatter.cs
- OrderedDictionary.cs
- BamlBinaryWriter.cs
- DocumentSchemaValidator.cs
- WindowProviderWrapper.cs
- TableParaClient.cs
- DateTimeStorage.cs
- VScrollProperties.cs
- Polygon.cs
- SmiMetaData.cs
- Font.cs
- ScriptControl.cs
- ConvertersCollection.cs
- XmlILStorageConverter.cs
- SqlReferenceCollection.cs
- BaseCollection.cs
- ExceptionNotification.cs
- SQLInt16.cs
- SecurityBindingElement.cs
- BitmapFrameEncode.cs
- HttpServerUtilityWrapper.cs
- FontInfo.cs
- Pool.cs
- ToolStripSeparatorRenderEventArgs.cs
- SerializationIncompleteException.cs
- BitmapEffectDrawingContextState.cs
- BoolExpr.cs
- DmlSqlGenerator.cs
- FormViewDeleteEventArgs.cs
- FormattedText.cs
- GACIdentityPermission.cs
- PassportAuthentication.cs
- CodeGotoStatement.cs
- CodeGen.cs
- DataGridViewRowsRemovedEventArgs.cs
- LazyLoadBehavior.cs
- PersonalizationStateQuery.cs
- SearchForVirtualItemEventArgs.cs
- SmtpNtlmAuthenticationModule.cs
- StrongName.cs
- TrackBarRenderer.cs
- WebEvents.cs
- Vector3DAnimationBase.cs
- Frame.cs
- DrawListViewSubItemEventArgs.cs
- CodeMemberMethod.cs
- SystemDiagnosticsSection.cs
- Pair.cs
- DataGridViewCellValidatingEventArgs.cs
- DecoderReplacementFallback.cs
- SystemNetHelpers.cs
- StoragePropertyMapping.cs
- CommandLibraryHelper.cs
- ExclusiveTcpTransportManager.cs
- TransformerConfigurationWizardBase.cs
- XmlAttributes.cs
- ComAdminInterfaces.cs
- SdlChannelSink.cs
- __FastResourceComparer.cs
- ArgIterator.cs
- DbParameterCollectionHelper.cs