Code:
/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / Net / System / Net / _NestedSingleAsyncResult.cs / 1 / _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
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewButtonCell.cs
- WebServiceClientProxyGenerator.cs
- Function.cs
- TickBar.cs
- DataKeyCollection.cs
- ApplicationContext.cs
- VisualStyleRenderer.cs
- SystemIPv6InterfaceProperties.cs
- FormViewPagerRow.cs
- XPathNavigator.cs
- _ConnectionGroup.cs
- SolidColorBrush.cs
- SystemColors.cs
- DataRow.cs
- WebResourceAttribute.cs
- ControllableStoryboardAction.cs
- BrowserDefinitionCollection.cs
- ControlAdapter.cs
- SourceChangedEventArgs.cs
- ToolStripDesignerUtils.cs
- XamlDebuggerXmlReader.cs
- NoneExcludedImageIndexConverter.cs
- AsyncOperationManager.cs
- NullRuntimeConfig.cs
- ResourcesGenerator.cs
- MissingFieldException.cs
- CodeTypeDeclaration.cs
- RowSpanVector.cs
- HttpWebRequestElement.cs
- DSACryptoServiceProvider.cs
- SqlSelectClauseBuilder.cs
- HwndTarget.cs
- SimpleParser.cs
- XmlSchemaProviderAttribute.cs
- InfoCardAsymmetricCrypto.cs
- HTTPNotFoundHandler.cs
- NullReferenceException.cs
- RotationValidation.cs
- BookmarkEventArgs.cs
- DrawingDrawingContext.cs
- Point3D.cs
- SoapIncludeAttribute.cs
- ParameterModifier.cs
- SmiEventStream.cs
- DataServiceRequestOfT.cs
- SizeValueSerializer.cs
- TypeHelper.cs
- EmptyImpersonationContext.cs
- Literal.cs
- UnsafeNativeMethods.cs
- BrowserDefinition.cs
- LocatorBase.cs
- DesignerProperties.cs
- HttpServerVarsCollection.cs
- VirtualPathProvider.cs
- TableCellCollection.cs
- HttpCachePolicy.cs
- DynamicQueryableWrapper.cs
- LinqDataSourceContextEventArgs.cs
- FontDriver.cs
- ItemsPanelTemplate.cs
- TargetControlTypeCache.cs
- MatrixTransform3D.cs
- DataServiceRequest.cs
- IItemProperties.cs
- DataColumnMapping.cs
- HtmlInputImage.cs
- Interlocked.cs
- X509CertificateCollection.cs
- AspNetCompatibilityRequirementsAttribute.cs
- SimpleTableProvider.cs
- FileDialog_Vista.cs
- CodeDirectiveCollection.cs
- FloaterBaseParagraph.cs
- ConfigurationManagerHelper.cs
- ToolStripMenuItem.cs
- ModelItemExtensions.cs
- TreeNode.cs
- StructuredTypeEmitter.cs
- BehaviorEditorPart.cs
- IteratorFilter.cs
- GridViewRowEventArgs.cs
- VideoDrawing.cs
- WebPartDisplayModeCancelEventArgs.cs
- ToolStripComboBox.cs
- SettingsPropertyNotFoundException.cs
- CompiledQuery.cs
- ContextStaticAttribute.cs
- MaterialCollection.cs
- MachineSettingsSection.cs
- WindowVisualStateTracker.cs
- EllipticalNodeOperations.cs
- InsufficientExecutionStackException.cs
- ModelTypeConverter.cs
- TTSVoice.cs
- _emptywebproxy.cs
- HScrollProperties.cs
- _NegoStream.cs
- COM2Properties.cs
- HandlerBase.cs