Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / _NestedSingleAsyncResult.cs / 1305376 / _NestedSingleAsyncResult.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Net { // // The NestedAsyncResult - used to wrap async requests // this is used to hold another async result made // through a call to another Begin call within. // internal class NestedSingleAsyncResult : LazyAsyncResult { // // this is usually for operations on streams/buffers, // we save information passed in on the Begin call: // since some calls might need several completions, we // need to save state on the user's IO request // internal byte[] Buffer; internal int Offset; internal int Size; // // Constructors // // Completed in advance. internal NestedSingleAsyncResult(Object asyncObject, Object asyncState, AsyncCallback asyncCallback, object result) : base(asyncObject, asyncState, asyncCallback, result) { } internal NestedSingleAsyncResult(Object asyncObject, Object asyncState, AsyncCallback asyncCallback, byte[] buffer, int offset, int size) : base( asyncObject, asyncState, asyncCallback ) { Buffer = buffer; Offset = offset; Size = size; } }; // class NestedAsyncResult } // namespace System.Net // 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
- AudioFileOut.cs
- _BasicClient.cs
- DnsPermission.cs
- Italic.cs
- StorageEntityTypeMapping.cs
- MatrixTransform.cs
- _NestedSingleAsyncResult.cs
- DataGridViewCellPaintingEventArgs.cs
- Brush.cs
- WhitespaceRule.cs
- TreeNodeConverter.cs
- MetadataPropertyvalue.cs
- DataBindingList.cs
- DataGridDesigner.cs
- RadialGradientBrush.cs
- EventSchemaTraceListener.cs
- DefaultAutoFieldGenerator.cs
- UsernameTokenFactoryCredential.cs
- VirtualDirectoryMappingCollection.cs
- BitmapEffectDrawingContextWalker.cs
- dbenumerator.cs
- ContextDataSource.cs
- WebPartActionVerb.cs
- Parallel.cs
- ResXDataNode.cs
- ConvertEvent.cs
- MemberRestriction.cs
- XmlValidatingReaderImpl.cs
- CardSpaceException.cs
- QueuePathEditor.cs
- PnrpPermission.cs
- InternalConfigSettingsFactory.cs
- FrameworkElementFactory.cs
- TargetParameterCountException.cs
- SQLInt32Storage.cs
- HebrewCalendar.cs
- PrintDocument.cs
- BrowserInteropHelper.cs
- HttpCacheVaryByContentEncodings.cs
- WsatStrings.cs
- ExpressionLexer.cs
- UIElementPropertyUndoUnit.cs
- SoapObjectInfo.cs
- InvalidPipelineStoreException.cs
- ReferentialConstraint.cs
- ByteConverter.cs
- CheckBoxList.cs
- MultiView.cs
- PointHitTestResult.cs
- ClientCultureInfo.cs
- PermissionSet.cs
- XslTransform.cs
- ToolboxItemSnapLineBehavior.cs
- TrackBarRenderer.cs
- DesignerActionListCollection.cs
- COM2ExtendedTypeConverter.cs
- WebPartDescription.cs
- RemoteHelper.cs
- CodeGenerator.cs
- Vector3dCollection.cs
- PartitionResolver.cs
- SmiGettersStream.cs
- PathTooLongException.cs
- PropertyAccessVisitor.cs
- StaticResourceExtension.cs
- ObjectToIdCache.cs
- TcpTransportManager.cs
- ReflectPropertyDescriptor.cs
- WinInet.cs
- CharEntityEncoderFallback.cs
- XmlTextReader.cs
- TemplateControlBuildProvider.cs
- Properties.cs
- bidPrivateBase.cs
- FontFamily.cs
- TransactionFormatter.cs
- Helpers.cs
- ChainOfResponsibility.cs
- DataGridColumnHeaderCollection.cs
- StagingAreaInputItem.cs
- SuppressMergeCheckAttribute.cs
- Rule.cs
- AbsoluteQuery.cs
- XmlWrappingReader.cs
- XmlRawWriter.cs
- BuildManagerHost.cs
- ServicePointManager.cs
- __ConsoleStream.cs
- Context.cs
- PlainXmlSerializer.cs
- StructuralCache.cs
- DataGridViewAdvancedBorderStyle.cs
- MeasurementDCInfo.cs
- InternalConfigRoot.cs
- ImportDesigner.xaml.cs
- CellLabel.cs
- Page.cs
- CreateParams.cs
- ApplicationDirectory.cs
- DrawingState.cs