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
- DependencyPropertyValueSerializer.cs
- QueryTaskGroupState.cs
- PointF.cs
- Deserializer.cs
- XmlnsDictionary.cs
- CheckBoxBaseAdapter.cs
- ISSmlParser.cs
- DispatcherEventArgs.cs
- JsonWriter.cs
- NonBatchDirectoryCompiler.cs
- AnimationStorage.cs
- TaiwanLunisolarCalendar.cs
- XmlAttributeCollection.cs
- SqlConnectionHelper.cs
- ConfigurationStrings.cs
- LayoutEngine.cs
- IUnknownConstantAttribute.cs
- EncoderReplacementFallback.cs
- TableLayoutPanel.cs
- TextEditorMouse.cs
- MatrixTransform.cs
- DataGridViewRowConverter.cs
- DataObjectSettingDataEventArgs.cs
- OpCellTreeNode.cs
- HandlerFactoryCache.cs
- FixedSchema.cs
- EventManager.cs
- TextElementEditingBehaviorAttribute.cs
- HandlerFactoryWrapper.cs
- CacheChildrenQuery.cs
- SqlDataSourceEnumerator.cs
- CompilationLock.cs
- CubicEase.cs
- RawMouseInputReport.cs
- CryptoHandle.cs
- PhysicalFontFamily.cs
- FolderBrowserDialog.cs
- InkCollectionBehavior.cs
- StaticDataManager.cs
- FormsAuthentication.cs
- DirectoryObjectSecurity.cs
- Schema.cs
- GridViewColumnHeader.cs
- Image.cs
- TypeLoadException.cs
- XmlTextReaderImplHelpers.cs
- XPathExpr.cs
- HostSecurityManager.cs
- BatchServiceHost.cs
- WizardStepBase.cs
- DesignerEventService.cs
- LogRecordSequence.cs
- TextProviderWrapper.cs
- AssertHelper.cs
- ImageIndexEditor.cs
- TaskFileService.cs
- Polyline.cs
- InstanceDataCollectionCollection.cs
- ProviderConnectionPointCollection.cs
- PlainXmlWriter.cs
- recordstatefactory.cs
- DataContractSerializerSection.cs
- QuaternionConverter.cs
- CheckBoxRenderer.cs
- PersistChildrenAttribute.cs
- MediaTimeline.cs
- ResizeGrip.cs
- ClientCultureInfo.cs
- RequiredAttributeAttribute.cs
- ItemsPresenter.cs
- Base64WriteStateInfo.cs
- Cloud.cs
- RemoteDebugger.cs
- PersonalizationProviderHelper.cs
- GeometryCombineModeValidation.cs
- SchemaSetCompiler.cs
- JoinSymbol.cs
- NumberFunctions.cs
- SourceFilter.cs
- RequestSecurityTokenForGetBrowserToken.cs
- assemblycache.cs
- TextSelectionHighlightLayer.cs
- ILGenerator.cs
- WebEventTraceProvider.cs
- SplineKeyFrames.cs
- MatrixTransform3D.cs
- CompoundFileReference.cs
- ConfigurationSectionGroup.cs
- DragDropManager.cs
- Brushes.cs
- DateBoldEvent.cs
- XmlTypeAttribute.cs
- ExtendedPropertyDescriptor.cs
- WinFormsComponentEditor.cs
- GroupBoxAutomationPeer.cs
- InteropTrackingRecord.cs
- MexTcpBindingCollectionElement.cs
- ListViewContainer.cs
- CryptoStream.cs
- Point3DCollectionValueSerializer.cs