Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / _NestedMultipleAsyncResult.cs / 1305376 / _NestedMultipleAsyncResult.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 NestedMultipleAsyncResult : 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 BufferOffsetSize[] Buffers; internal int Size; // // Constructor: // internal NestedMultipleAsyncResult(Object asyncObject, Object asyncState, AsyncCallback asyncCallback, BufferOffsetSize[] buffers) : base( asyncObject, asyncState, asyncCallback ) { Buffers = buffers; Size = 0; for (int i = 0; i < Buffers.Length; i++) { Size += Buffers[i].Size; } } }; // class NestedMultipleAsyncResult } // 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
- HttpProfileBase.cs
- CodeExpressionCollection.cs
- ObfuscateAssemblyAttribute.cs
- AutomationIdentifierGuids.cs
- UInt64Storage.cs
- SafeNativeMethods.cs
- DecoderExceptionFallback.cs
- PropertyDescriptorComparer.cs
- Vector3DConverter.cs
- GenericUriParser.cs
- MimeWriter.cs
- DataIdProcessor.cs
- SafeNativeMethods.cs
- EnumType.cs
- CRYPTPROTECT_PROMPTSTRUCT.cs
- RequestCache.cs
- TextSpan.cs
- XPathConvert.cs
- FixedPosition.cs
- DataGridViewRowPrePaintEventArgs.cs
- FloaterBaseParaClient.cs
- XhtmlBasicTextViewAdapter.cs
- XmlSchemaParticle.cs
- TextEditorDragDrop.cs
- InvariantComparer.cs
- StructuralCache.cs
- SaveFileDialog.cs
- HtmlButton.cs
- FormViewModeEventArgs.cs
- QueryUtil.cs
- UserControl.cs
- ContextMarshalException.cs
- SoapEnumAttribute.cs
- Control.cs
- ContextBase.cs
- TextProviderWrapper.cs
- Inflater.cs
- HyperLinkColumn.cs
- XmlSignificantWhitespace.cs
- BackgroundFormatInfo.cs
- EventlogProvider.cs
- Panel.cs
- WsatConfiguration.cs
- PropertyInformationCollection.cs
- ProcessStartInfo.cs
- RoleGroupCollection.cs
- DocumentPageView.cs
- EncodingStreamWrapper.cs
- StatusBarItem.cs
- Hyperlink.cs
- WebControl.cs
- HierarchicalDataTemplate.cs
- KnownTypeAttribute.cs
- StringFormat.cs
- StrongNameIdentityPermission.cs
- FullTrustAssembliesSection.cs
- HostingEnvironmentException.cs
- CollectionConverter.cs
- KnownBoxes.cs
- BufferedReadStream.cs
- XmlChoiceIdentifierAttribute.cs
- TextMarkerSource.cs
- QueryCacheEntry.cs
- Panel.cs
- ExpressionBinding.cs
- DashStyles.cs
- LOSFormatter.cs
- SafeNativeMethodsOther.cs
- SequenceDesigner.cs
- DigestComparer.cs
- SafeBitVector32.cs
- Geometry.cs
- DoubleUtil.cs
- EdmProviderManifest.cs
- GroupQuery.cs
- InputBinding.cs
- ProtectedProviderSettings.cs
- AttachedAnnotation.cs
- EventWaitHandle.cs
- ConfigurationProperty.cs
- CellQuery.cs
- XPathScanner.cs
- XmlSortKeyAccumulator.cs
- ThrowHelper.cs
- PageAdapter.cs
- RadioButtonStandardAdapter.cs
- User.cs
- SessionStateContainer.cs
- SqlCharStream.cs
- BitmapMetadata.cs
- TransactionProxy.cs
- InputLanguageCollection.cs
- Pair.cs
- PeerConnector.cs
- TransformGroup.cs
- UntypedNullExpression.cs
- Formatter.cs
- ObjectSecurity.cs
- SqlNodeTypeOperators.cs
- AssemblyCache.cs