Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / ndp / fx / src / Net / System / Net / Mail / SmtpReplyReader.cs / 1 / SmtpReplyReader.cs
namespace System.Net.Mail { using System; using System.IO; //streams are read only; return of 0 means end of server's reply class SmtpReplyReader { SmtpReplyReaderFactory reader; internal SmtpReplyReader(SmtpReplyReaderFactory reader) { this.reader = reader; } internal IAsyncResult BeginReadLines(AsyncCallback callback, object state) { return reader.BeginReadLines(this, callback, state); } internal IAsyncResult BeginReadLine(AsyncCallback callback, object state) { return reader.BeginReadLine(this, callback, state); } public void Close() { reader.Close(this); } internal LineInfo[] EndReadLines(IAsyncResult result) { return reader.EndReadLines(result); } internal LineInfo EndReadLine(IAsyncResult result) { return reader.EndReadLine(result); } internal LineInfo[] ReadLines() { return reader.ReadLines(this); } internal LineInfo ReadLine() { return reader.ReadLine(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. namespace System.Net.Mail { using System; using System.IO; //streams are read only; return of 0 means end of server's reply class SmtpReplyReader { SmtpReplyReaderFactory reader; internal SmtpReplyReader(SmtpReplyReaderFactory reader) { this.reader = reader; } internal IAsyncResult BeginReadLines(AsyncCallback callback, object state) { return reader.BeginReadLines(this, callback, state); } internal IAsyncResult BeginReadLine(AsyncCallback callback, object state) { return reader.BeginReadLine(this, callback, state); } public void Close() { reader.Close(this); } internal LineInfo[] EndReadLines(IAsyncResult result) { return reader.EndReadLines(result); } internal LineInfo EndReadLine(IAsyncResult result) { return reader.EndReadLine(result); } internal LineInfo[] ReadLines() { return reader.ReadLines(this); } internal LineInfo ReadLine() { return reader.ReadLine(this); } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DiscoveryClientOutputChannel.cs
- NavigationEventArgs.cs
- TypeInfo.cs
- MruCache.cs
- WebColorConverter.cs
- XmlEventCache.cs
- DbgCompiler.cs
- RotateTransform3D.cs
- UshortList2.cs
- DesignerActionVerbItem.cs
- PersonalizationProvider.cs
- CaseInsensitiveComparer.cs
- SystemTcpConnection.cs
- EtwTrace.cs
- CharEnumerator.cs
- DataGridViewComboBoxCell.cs
- SevenBitStream.cs
- SmtpLoginAuthenticationModule.cs
- RtType.cs
- DeclarativeCatalogPart.cs
- StagingAreaInputItem.cs
- EntityCollectionChangedParams.cs
- OutputCacheSettings.cs
- MdImport.cs
- CodeDelegateInvokeExpression.cs
- TemplateKeyConverter.cs
- ConvertBinder.cs
- ActivatableWorkflowsQueryResult.cs
- ImageSourceValueSerializer.cs
- OutKeywords.cs
- COSERVERINFO.cs
- BookmarkWorkItem.cs
- DbProviderSpecificTypePropertyAttribute.cs
- SQLBytesStorage.cs
- WebServiceHandler.cs
- ConstructorNeedsTagAttribute.cs
- altserialization.cs
- SimpleMailWebEventProvider.cs
- XmlAttributeCollection.cs
- XamlSerializerUtil.cs
- KeyConverter.cs
- StubHelpers.cs
- validation.cs
- WebPartConnectVerb.cs
- ChannelToken.cs
- PersistencePipeline.cs
- CorrelationKeyCalculator.cs
- BuilderElements.cs
- ChainOfDependencies.cs
- TraceProvider.cs
- RotateTransform3D.cs
- IISUnsafeMethods.cs
- Rect3D.cs
- WindowsFont.cs
- ECDiffieHellmanPublicKey.cs
- WindowsListBox.cs
- ProtocolsConfigurationEntry.cs
- CompressStream.cs
- ColumnClickEvent.cs
- DateTimeConverter2.cs
- TextFormatter.cs
- TextCompositionEventArgs.cs
- CardSpacePolicyElement.cs
- ClientTargetSection.cs
- TextEditorContextMenu.cs
- ListSortDescriptionCollection.cs
- CaseInsensitiveOrdinalStringComparer.cs
- SqlUtil.cs
- ObjectDataSourceMethodEventArgs.cs
- ExplicitDiscriminatorMap.cs
- TypeConverterHelper.cs
- TextDecorationCollection.cs
- FunctionQuery.cs
- WizardPanelChangingEventArgs.cs
- InternalPermissions.cs
- DragDrop.cs
- XPathChildIterator.cs
- ContravarianceAdapter.cs
- CacheChildrenQuery.cs
- MsdtcClusterUtils.cs
- DataServiceException.cs
- StrongNameKeyPair.cs
- TypedElement.cs
- CompiledXpathExpr.cs
- TextRangeBase.cs
- UnknownMessageReceivedEventArgs.cs
- TreeNodeClickEventArgs.cs
- ProtocolsSection.cs
- GatewayDefinition.cs
- ToolbarAUtomationPeer.cs
- TextServicesManager.cs
- NavigationFailedEventArgs.cs
- GcSettings.cs
- AmbientProperties.cs
- PolyQuadraticBezierSegment.cs
- EncryptedPackageFilter.cs
- ActivationServices.cs
- CustomAttributeFormatException.cs
- AutomationAttributeInfo.cs
- DescriptionAttribute.cs