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
- LoginView.cs
- SingleSelectRootGridEntry.cs
- CapabilitiesState.cs
- DiscoveryVersion.cs
- WmlCalendarAdapter.cs
- SubpageParagraph.cs
- ObjectDisposedException.cs
- DefaultMergeHelper.cs
- GenericIdentity.cs
- SpoolingTaskBase.cs
- ProgressBarBrushConverter.cs
- OdbcRowUpdatingEvent.cs
- SiteMapProvider.cs
- ContainerFilterService.cs
- LabelEditEvent.cs
- autovalidator.cs
- InternalDispatchObject.cs
- WebPartConnectionsDisconnectVerb.cs
- EventMetadata.cs
- JsonSerializer.cs
- EncodingTable.cs
- ConfigsHelper.cs
- SchemaInfo.cs
- NetSectionGroup.cs
- Italic.cs
- FontResourceCache.cs
- DataGridTableCollection.cs
- SByteConverter.cs
- TextServicesManager.cs
- ProxyGenerationError.cs
- ScrollBarAutomationPeer.cs
- DispatcherObject.cs
- SqlStream.cs
- ModuleElement.cs
- ClassicBorderDecorator.cs
- ImageMapEventArgs.cs
- WebWorkflowRole.cs
- FloatUtil.cs
- RenderOptions.cs
- SmtpNegotiateAuthenticationModule.cs
- SignatureTargetIdManager.cs
- DirectionalLight.cs
- FlowDocumentReader.cs
- ResourceSet.cs
- mansign.cs
- DocumentEventArgs.cs
- HtmlTitle.cs
- SemanticTag.cs
- FixedSOMSemanticBox.cs
- EditModeSwitchButton.cs
- BaseDataBoundControl.cs
- AuthorizationRuleCollection.cs
- SimpleColumnProvider.cs
- WrappedReader.cs
- RelationshipConstraintValidator.cs
- FullTextState.cs
- ConfigurationLocationCollection.cs
- CodeObject.cs
- TextSpan.cs
- AssociationTypeEmitter.cs
- SortedList.cs
- ListViewInsertionMark.cs
- SafeReversePInvokeHandle.cs
- PackagingUtilities.cs
- UnsafeNativeMethods.cs
- ActivationServices.cs
- ValidatingReaderNodeData.cs
- DynamicPhysicalDiscoSearcher.cs
- WebPartCancelEventArgs.cs
- OperationCanceledException.cs
- MethodBody.cs
- StdValidatorsAndConverters.cs
- ItemsPanelTemplate.cs
- XmlFormatExtensionPointAttribute.cs
- Operator.cs
- InvalidPrinterException.cs
- CheckBoxStandardAdapter.cs
- RadioButtonAutomationPeer.cs
- _NetRes.cs
- RegexCode.cs
- ComplexPropertyEntry.cs
- DecimalAnimation.cs
- HtmlInputText.cs
- BulletedList.cs
- SymbolMethod.cs
- securitymgrsite.cs
- DllNotFoundException.cs
- IResourceProvider.cs
- XmlSerializerFactory.cs
- XmlQualifiedName.cs
- GridProviderWrapper.cs
- SkipQueryOptionExpression.cs
- WebResourceUtil.cs
- ContentPosition.cs
- RefType.cs
- BindingMemberInfo.cs
- VisualProxy.cs
- XmlChoiceIdentifierAttribute.cs
- KeyInterop.cs
- PageSetupDialog.cs