Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WhitespaceRuleReader.cs
- BlockExpression.cs
- SessionState.cs
- FileLevelControlBuilderAttribute.cs
- SafeEventLogReadHandle.cs
- Accessible.cs
- SimplePropertyEntry.cs
- ImageListStreamer.cs
- XpsS0ValidatingLoader.cs
- QuaternionAnimation.cs
- ErrorTolerantObjectWriter.cs
- IconHelper.cs
- TimeoutException.cs
- ChangePasswordAutoFormat.cs
- VirtualPath.cs
- safemediahandle.cs
- OrCondition.cs
- SettingsPropertyValueCollection.cs
- control.ime.cs
- SpeechDetectedEventArgs.cs
- BinaryCommonClasses.cs
- WorkflowViewManager.cs
- TraceContext.cs
- RecognizedWordUnit.cs
- ControlValuePropertyAttribute.cs
- PerspectiveCamera.cs
- SimpleBitVector32.cs
- FormsAuthenticationModule.cs
- XmlSchemaExternal.cs
- UpdatePanelControlTrigger.cs
- DictionaryEntry.cs
- LassoHelper.cs
- ThicknessConverter.cs
- URLIdentityPermission.cs
- BindingBase.cs
- Subtree.cs
- Debugger.cs
- HttpFileCollection.cs
- IPEndPoint.cs
- XamlPathDataSerializer.cs
- SoapProtocolReflector.cs
- GrammarBuilder.cs
- NavigateEvent.cs
- HostProtectionPermission.cs
- DecimalAnimationBase.cs
- ModifiableIteratorCollection.cs
- RootProjectionNode.cs
- PathFigureCollection.cs
- ParserOptions.cs
- ResXFileRef.cs
- BaseProcessor.cs
- SctClaimSerializer.cs
- VScrollProperties.cs
- SurrogateSelector.cs
- OneOfScalarConst.cs
- ResourceExpression.cs
- XmlArrayItemAttributes.cs
- CodeArrayCreateExpression.cs
- ReflectPropertyDescriptor.cs
- Mapping.cs
- ValuePattern.cs
- WebException.cs
- xmlsaver.cs
- InputReport.cs
- NopReturnReader.cs
- CommonDialog.cs
- AuthenticationSection.cs
- SpecularMaterial.cs
- EqualityComparer.cs
- DefinitionBase.cs
- GroupBoxRenderer.cs
- QueryCursorEventArgs.cs
- OracleInfoMessageEventArgs.cs
- DelegateTypeInfo.cs
- UrlAuthFailedErrorFormatter.cs
- TaskFactory.cs
- DtdParser.cs
- GregorianCalendar.cs
- HttpContext.cs
- webclient.cs
- securitycriticaldataformultiplegetandset.cs
- DesignColumnCollection.cs
- ZipIOLocalFileBlock.cs
- TreeBuilder.cs
- GestureRecognizer.cs
- EncryptedType.cs
- ToggleButtonAutomationPeer.cs
- IIS7WorkerRequest.cs
- AttributeEmitter.cs
- ChtmlTextWriter.cs
- Border.cs
- DocumentOrderQuery.cs
- DocumentViewerHelper.cs
- SourceFileBuildProvider.cs
- SmtpLoginAuthenticationModule.cs
- SchemaTableOptionalColumn.cs
- FreeFormDesigner.cs
- SmiSettersStream.cs
- AssemblyCacheEntry.cs
- ActivityDesignerAccessibleObject.cs