Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / 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
- dataobject.cs
- CodeSnippetTypeMember.cs
- _ConnectOverlappedAsyncResult.cs
- WebPartVerbCollection.cs
- TransactedBatchingBehavior.cs
- Processor.cs
- ValidateNames.cs
- LongValidatorAttribute.cs
- Msec.cs
- HttpWebRequest.cs
- AppendHelper.cs
- ProcessProtocolHandler.cs
- WizardStepBase.cs
- TreeIterator.cs
- DataControlField.cs
- NonSerializedAttribute.cs
- TableLayoutStyle.cs
- MeasurementDCInfo.cs
- ConfigXmlReader.cs
- EnumType.cs
- DefaultObjectMappingItemCollection.cs
- SafeHandles.cs
- MouseBinding.cs
- LinkButton.cs
- CharConverter.cs
- TemplateBamlTreeBuilder.cs
- TriggerAction.cs
- PaintEvent.cs
- UnsafeNativeMethods.cs
- DataGridBoolColumn.cs
- EvidenceBase.cs
- SqlDataSourceQueryConverter.cs
- PageWrapper.cs
- CommonDialog.cs
- WorkflowServiceAttributes.cs
- SoapSchemaMember.cs
- InvalidOleVariantTypeException.cs
- MethodBuilder.cs
- DelegatedStream.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- DateTimeOffset.cs
- Parameter.cs
- ArrayWithOffset.cs
- Rotation3DKeyFrameCollection.cs
- IsolatedStorage.cs
- EmissiveMaterial.cs
- DriveNotFoundException.cs
- TreeNodeBindingCollection.cs
- SystemBrushes.cs
- NonVisualControlAttribute.cs
- IndicCharClassifier.cs
- RangeBase.cs
- SqlProcedureAttribute.cs
- Scene3D.cs
- WebBrowserContainer.cs
- SevenBitStream.cs
- DataKeyArray.cs
- UseAttributeSetsAction.cs
- DragEvent.cs
- GestureRecognizer.cs
- Light.cs
- AuthenticatedStream.cs
- AuthenticationException.cs
- Encoding.cs
- LineServicesRun.cs
- XmlWriterTraceListener.cs
- EdmPropertyAttribute.cs
- PermissionAttributes.cs
- CalloutQueueItem.cs
- LongAverageAggregationOperator.cs
- WebPartConnectionsCancelVerb.cs
- OdbcUtils.cs
- WebPartConnection.cs
- Viewport3DVisual.cs
- SqlDataRecord.cs
- SecurityTokenException.cs
- Query.cs
- TemplateColumn.cs
- TimeoutHelper.cs
- SpellerHighlightLayer.cs
- WindowsListViewGroupHelper.cs
- Transform.cs
- MissingMethodException.cs
- List.cs
- SqlEnums.cs
- WebPartRestoreVerb.cs
- ProfileService.cs
- XPathDescendantIterator.cs
- StringPropertyBuilder.cs
- Source.cs
- HttpException.cs
- DataGridViewRowErrorTextNeededEventArgs.cs
- _LoggingObject.cs
- SecurityDescriptor.cs
- Queue.cs
- UnsafeNetInfoNativeMethods.cs
- ModelUIElement3D.cs
- DocumentViewerAutomationPeer.cs
- BeginSelectCardRequest.cs
- XamlBrushSerializer.cs