Code:
/ DotNET / DotNET / 8.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
- LocalizationParserHooks.cs
- IconConverter.cs
- SqlXml.cs
- securitycriticaldataformultiplegetandset.cs
- BaseCodeDomTreeGenerator.cs
- RequestStatusBarUpdateEventArgs.cs
- FullTextBreakpoint.cs
- ButtonChrome.cs
- DoubleAnimationBase.cs
- ArgIterator.cs
- AsyncOperationManager.cs
- InteropAutomationProvider.cs
- CollectionViewGroupInternal.cs
- GregorianCalendar.cs
- DeviceContext.cs
- CacheOutputQuery.cs
- EditorPart.cs
- ObsoleteAttribute.cs
- ContextMenuService.cs
- CacheAxisQuery.cs
- ComboBox.cs
- WebControlParameterProxy.cs
- DesignerCategoryAttribute.cs
- SqlRowUpdatingEvent.cs
- UserMapPath.cs
- TreeBuilderBamlTranslator.cs
- DataList.cs
- SettingsBase.cs
- ProviderMetadata.cs
- UnionCqlBlock.cs
- Roles.cs
- SqlMethodTransformer.cs
- ClientUrlResolverWrapper.cs
- HttpProfileGroupBase.cs
- DataColumnMapping.cs
- XmlObjectSerializerWriteContextComplex.cs
- WebUtil.cs
- EventWaitHandle.cs
- DataGridViewColumnDesignTimeVisibleAttribute.cs
- FrugalMap.cs
- JavaScriptString.cs
- DesignOnlyAttribute.cs
- ApplyImportsAction.cs
- SerializeAbsoluteContext.cs
- ByeMessage11.cs
- DynamicMethod.cs
- CellParaClient.cs
- TypeSystem.cs
- Semaphore.cs
- Model3DGroup.cs
- Annotation.cs
- CompositeClientFormatter.cs
- ToolStripSystemRenderer.cs
- DesignerDataColumn.cs
- TranslateTransform3D.cs
- FilterElement.cs
- EnvironmentPermission.cs
- PageSettings.cs
- PathGradientBrush.cs
- DateRangeEvent.cs
- RepeatButton.cs
- SchemaElementDecl.cs
- LifetimeServices.cs
- ConfigurationErrorsException.cs
- XmlUtf8RawTextWriter.cs
- ProviderIncompatibleException.cs
- InfoCardRequestException.cs
- PersistenceTypeAttribute.cs
- ImpersonationContext.cs
- BeginStoryboard.cs
- FirewallWrapper.cs
- Quaternion.cs
- WebSysDefaultValueAttribute.cs
- XmlChoiceIdentifierAttribute.cs
- DataGridViewCellEventArgs.cs
- MultiViewDesigner.cs
- KeyFrames.cs
- JpegBitmapDecoder.cs
- ReachUIElementCollectionSerializerAsync.cs
- PowerModeChangedEventArgs.cs
- ComponentResourceKey.cs
- BindableTemplateBuilder.cs
- RichTextBoxConstants.cs
- FontWeights.cs
- PolyBezierSegmentFigureLogic.cs
- Source.cs
- DetailsViewDeletedEventArgs.cs
- WorkflowRuntimeServiceElementCollection.cs
- DefaultValidator.cs
- FilteredXmlReader.cs
- ObjectKeyFrameCollection.cs
- SqlInfoMessageEvent.cs
- TextBoxBase.cs
- ZoneButton.cs
- DeclaredTypeValidatorAttribute.cs
- RunWorkerCompletedEventArgs.cs
- ControlCollection.cs
- TableLayoutCellPaintEventArgs.cs
- TextBox.cs
- SiteMapProvider.cs