Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / fx / src / Net / System / Net / _NestedMultipleAsyncResult.cs / 1 / _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
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- NotFiniteNumberException.cs
- EntityKeyElement.cs
- UpdateException.cs
- IdSpace.cs
- PassportIdentity.cs
- FontFamily.cs
- DecimalConverter.cs
- GeneralTransform.cs
- ToolStripCollectionEditor.cs
- CodeNamespaceImportCollection.cs
- OdbcParameterCollection.cs
- TdsParserStaticMethods.cs
- HttpResponseWrapper.cs
- UInt64Storage.cs
- MappingSource.cs
- NoneExcludedImageIndexConverter.cs
- HttpCapabilitiesBase.cs
- AttachmentCollection.cs
- FileDialog_Vista_Interop.cs
- FontDriver.cs
- DataSourceHelper.cs
- PrintController.cs
- BidOverLoads.cs
- DataServiceRequestException.cs
- SqlXml.cs
- ListSourceHelper.cs
- DataTemplateSelector.cs
- ArgumentValueSerializer.cs
- designeractionlistschangedeventargs.cs
- FileSecurity.cs
- httpstaticobjectscollection.cs
- PlatformNotSupportedException.cs
- EventRecord.cs
- DrawingImage.cs
- ParseHttpDate.cs
- OLEDB_Util.cs
- XPathScanner.cs
- BamlResourceSerializer.cs
- DataGridRelationshipRow.cs
- RefreshEventArgs.cs
- CustomSignedXml.cs
- CodeTypeReference.cs
- UrlAuthFailedErrorFormatter.cs
- BasicExpressionVisitor.cs
- PhoneCallDesigner.cs
- WebPartConnectionsEventArgs.cs
- TemplatePropertyEntry.cs
- StrongNameMembershipCondition.cs
- PocoEntityKeyStrategy.cs
- AnnotationDocumentPaginator.cs
- TypefaceCollection.cs
- WithParamAction.cs
- CursorInteropHelper.cs
- SoapEnvelopeProcessingElement.cs
- NumericUpDownAcceleration.cs
- ResolvedKeyFrameEntry.cs
- ScriptDescriptor.cs
- XmlSiteMapProvider.cs
- RemotingService.cs
- CornerRadiusConverter.cs
- ProtocolsConfiguration.cs
- FloaterParagraph.cs
- SpeechSynthesizer.cs
- SctClaimSerializer.cs
- WebDescriptionAttribute.cs
- UserPersonalizationStateInfo.cs
- StorageEntityContainerMapping.cs
- WorkflowInvoker.cs
- OSFeature.cs
- GenericQueueSurrogate.cs
- TextServicesContext.cs
- CodeMemberField.cs
- RepeaterItemEventArgs.cs
- XmlDomTextWriter.cs
- ExpandedWrapper.cs
- MemoryMappedViewAccessor.cs
- TimeSpanValidator.cs
- GifBitmapDecoder.cs
- COM2ColorConverter.cs
- CheckBox.cs
- UnsafeNativeMethodsPenimc.cs
- EntityDataSourceWrapper.cs
- WindowsTab.cs
- UrlMappingCollection.cs
- ContentType.cs
- InfoCardTrace.cs
- PropertyEmitterBase.cs
- TypedRowGenerator.cs
- NonVisualControlAttribute.cs
- WindowPattern.cs
- Zone.cs
- HttpServerUtilityWrapper.cs
- listviewsubitemcollectioneditor.cs
- DockingAttribute.cs
- SystemIcmpV6Statistics.cs
- EdmSchemaError.cs
- XpsFontSerializationService.cs
- DesignerActionKeyboardBehavior.cs
- WebPartsPersonalization.cs
- HtmlSelect.cs