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
- EdmComplexPropertyAttribute.cs
- DaylightTime.cs
- EntityDesignerBuildProvider.cs
- DescendantBaseQuery.cs
- TextBoxLine.cs
- SharedConnectionWorkflowTransactionService.cs
- PackagePartCollection.cs
- PageSetupDialog.cs
- parserscommon.cs
- FixedSOMLineRanges.cs
- TemplateXamlTreeBuilder.cs
- RadioButtonRenderer.cs
- XmlSchemaImporter.cs
- CodeDirectoryCompiler.cs
- WSHttpBindingElement.cs
- DesignerWidgets.cs
- SystemIPv6InterfaceProperties.cs
- XmlAnyAttributeAttribute.cs
- util.cs
- GeometryConverter.cs
- XomlSerializationHelpers.cs
- ServiceHttpHandlerFactory.cs
- DrawingState.cs
- RijndaelManagedTransform.cs
- TextTreePropertyUndoUnit.cs
- NativeMethodsOther.cs
- ScriptManager.cs
- Vector3DConverter.cs
- SessionParameter.cs
- filewebresponse.cs
- LocatorManager.cs
- KnownTypes.cs
- SystemResources.cs
- TextEndOfLine.cs
- TextDecoration.cs
- ModelPerspective.cs
- Keywords.cs
- CorruptingExceptionCommon.cs
- ItemCheckEvent.cs
- StorageScalarPropertyMapping.cs
- RPIdentityRequirement.cs
- XsdValidatingReader.cs
- WebScriptMetadataFormatter.cs
- VirtualPathUtility.cs
- SimpleHandlerFactory.cs
- SelectedGridItemChangedEvent.cs
- Site.cs
- MaskedTextBoxDesignerActionList.cs
- HtmlEmptyTagControlBuilder.cs
- WebBrowserSiteBase.cs
- EncodingNLS.cs
- Trigger.cs
- Application.cs
- FlowDocumentPaginator.cs
- ExceptionUtil.cs
- DataListItem.cs
- SystemIPGlobalProperties.cs
- ExtensionWindowResizeGrip.cs
- NetCodeGroup.cs
- WebConvert.cs
- TextSpan.cs
- DeviceOverridableAttribute.cs
- RawMouseInputReport.cs
- DataGridRow.cs
- SelectorAutomationPeer.cs
- SchemaInfo.cs
- ClickablePoint.cs
- TemplateLookupAction.cs
- CompilerState.cs
- QueryableFilterRepeater.cs
- TemplateBindingExtension.cs
- ApplicationId.cs
- PageCodeDomTreeGenerator.cs
- WebPartEditorApplyVerb.cs
- GiveFeedbackEventArgs.cs
- MLangCodePageEncoding.cs
- RegistryKey.cs
- Policy.cs
- AttributeData.cs
- CallSite.cs
- ToolStripItemClickedEventArgs.cs
- TransformCollection.cs
- State.cs
- DataObjectEventArgs.cs
- InvokeWebServiceDesigner.cs
- ApplyTemplatesAction.cs
- InboundActivityHelper.cs
- ReliableMessagingHelpers.cs
- SqlTransaction.cs
- LinqDataSourceContextEventArgs.cs
- RegularExpressionValidator.cs
- Margins.cs
- _PooledStream.cs
- PartialTrustValidationBehavior.cs
- DataGridViewCell.cs
- CompositeFontFamily.cs
- DetailsViewUpdateEventArgs.cs
- MemoryRecordBuffer.cs
- PropertyDescriptorGridEntry.cs
- DodSequenceMerge.cs