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
- FormatConvertedBitmap.cs
- _IPv4Address.cs
- SecureConversationVersion.cs
- FlowLayout.cs
- ObjectContextServiceProvider.cs
- SocketPermission.cs
- ResizeGrip.cs
- Shape.cs
- _SafeNetHandles.cs
- AttributeProviderAttribute.cs
- VectorConverter.cs
- AssemblyBuilder.cs
- RegexMatchCollection.cs
- CardSpaceSelector.cs
- XsdValidatingReader.cs
- SystemWebCachingSectionGroup.cs
- linebase.cs
- GetRecipientListRequest.cs
- DbgCompiler.cs
- CodeDelegateCreateExpression.cs
- NonParentingControl.cs
- Attributes.cs
- ConsoleKeyInfo.cs
- SelectionProcessor.cs
- TypeConverterHelper.cs
- ExternalDataExchangeService.cs
- OutputCacheSection.cs
- DisplayInformation.cs
- DispatcherHookEventArgs.cs
- NoClickablePointException.cs
- PropertyRecord.cs
- DataList.cs
- XmlReaderSettings.cs
- PerformanceCounters.cs
- DynamicILGenerator.cs
- SetUserPreferenceRequest.cs
- IdentityReference.cs
- base64Transforms.cs
- WebPartZoneCollection.cs
- HostingEnvironmentException.cs
- NavigationFailedEventArgs.cs
- ValuePatternIdentifiers.cs
- DragDeltaEventArgs.cs
- FixedPageAutomationPeer.cs
- XPathMultyIterator.cs
- PropertyGridEditorPart.cs
- ServiceBusyException.cs
- ApplicationServicesHostFactory.cs
- Matrix3D.cs
- DbMetaDataFactory.cs
- QilInvokeEarlyBound.cs
- MarkerProperties.cs
- MessageSecurityProtocolFactory.cs
- CheckBoxField.cs
- Selection.cs
- EnumBuilder.cs
- HiddenFieldDesigner.cs
- OpCodes.cs
- URLString.cs
- designeractionlistschangedeventargs.cs
- SelectionProcessor.cs
- AsyncResult.cs
- SignatureDescription.cs
- VideoDrawing.cs
- Camera.cs
- Globals.cs
- MetadataPropertyCollection.cs
- IntMinMaxAggregationOperator.cs
- ValidateNames.cs
- DataGridTextBox.cs
- GuidTagList.cs
- Pen.cs
- DescendentsWalkerBase.cs
- DSASignatureFormatter.cs
- WS2007HttpBindingCollectionElement.cs
- ResourceDescriptionAttribute.cs
- GrammarBuilderPhrase.cs
- CancellationState.cs
- PageWrapper.cs
- MiniMapControl.xaml.cs
- RichTextBoxAutomationPeer.cs
- TextServicesPropertyRanges.cs
- DropSource.cs
- ConvertBinder.cs
- ResumeStoryboard.cs
- InfoCardConstants.cs
- RetrieveVirtualItemEventArgs.cs
- Transform.cs
- RegisteredDisposeScript.cs
- _SslSessionsCache.cs
- LogFlushAsyncResult.cs
- Hyperlink.cs
- PageContentCollection.cs
- MsmqAppDomainProtocolHandler.cs
- RuntimeVariablesExpression.cs
- DependencyPropertyKind.cs
- ValidationErrorEventArgs.cs
- MouseWheelEventArgs.cs
- MethodImplAttribute.cs
- CodeAccessSecurityEngine.cs