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
- AccessibilityHelperForVista.cs
- PolygonHotSpot.cs
- XPathNavigator.cs
- Transform.cs
- HttpCacheVaryByContentEncodings.cs
- Verify.cs
- ActivityCodeDomSerializationManager.cs
- ISAPIRuntime.cs
- XmlWriterDelegator.cs
- GCHandleCookieTable.cs
- CurrentChangingEventArgs.cs
- SingleAnimation.cs
- CodePageEncoding.cs
- FontStretches.cs
- DirectoryNotFoundException.cs
- InstanceLockQueryResult.cs
- DynamicHyperLink.cs
- MeshGeometry3D.cs
- CompositeControl.cs
- VisualTreeHelper.cs
- GridViewUpdateEventArgs.cs
- ServiceChannelManager.cs
- BookmarkEventArgs.cs
- Win32SafeHandles.cs
- ShapeTypeface.cs
- ResourcesGenerator.cs
- RSAPKCS1SignatureFormatter.cs
- SystemDiagnosticsSection.cs
- ThemeDirectoryCompiler.cs
- ProcessInfo.cs
- WmlPanelAdapter.cs
- CodeNamespaceImportCollection.cs
- OleDbException.cs
- DragSelectionMessageFilter.cs
- XmlElementList.cs
- ScrollProviderWrapper.cs
- TextEditorLists.cs
- RecordBuilder.cs
- LOSFormatter.cs
- GeneralTransformGroup.cs
- Roles.cs
- PointConverter.cs
- StringFunctions.cs
- DataGridHeaderBorder.cs
- Crypto.cs
- DataGridViewColumnHeaderCell.cs
- ApplicationActivator.cs
- ToolTipService.cs
- ArcSegment.cs
- ApplicationDirectoryMembershipCondition.cs
- wmiprovider.cs
- ResolveMatchesApril2005.cs
- AuthenticationSection.cs
- UnsafeNativeMethods.cs
- FlowNode.cs
- ToolStripStatusLabel.cs
- RemotingAttributes.cs
- SafeNativeMethodsCLR.cs
- Base64Encoder.cs
- FrameworkTextComposition.cs
- ClientType.cs
- Timeline.cs
- InterleavedZipPartStream.cs
- ConfigurationSectionGroup.cs
- SimpleApplicationHost.cs
- CodeCatchClause.cs
- TextServicesDisplayAttributePropertyRanges.cs
- SqlCommandSet.cs
- WrapPanel.cs
- ChangeTracker.cs
- xmlglyphRunInfo.cs
- WebScriptMetadataMessage.cs
- Expander.cs
- OracleCommandBuilder.cs
- StructuralCache.cs
- NoClickablePointException.cs
- CredentialCache.cs
- FixedLineResult.cs
- HttpDictionary.cs
- RuleSettingsCollection.cs
- _AutoWebProxyScriptWrapper.cs
- JsonSerializer.cs
- Canvas.cs
- EnumValAlphaComparer.cs
- SimplePropertyEntry.cs
- InheritanceContextHelper.cs
- SqlDataReaderSmi.cs
- XmlArrayItemAttribute.cs
- DispatchOperationRuntime.cs
- WebHttpBinding.cs
- DbConnectionFactory.cs
- RegexGroup.cs
- FileLogRecord.cs
- PointConverter.cs
- ChildChangedEventArgs.cs
- IItemProperties.cs
- XsltSettings.cs
- PointAnimationBase.cs
- Resources.Designer.cs
- ReferenceAssemblyAttribute.cs