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
- ComNativeDescriptor.cs
- AuthenticationService.cs
- HWStack.cs
- ComponentConverter.cs
- SqlCacheDependencySection.cs
- WeakReferenceEnumerator.cs
- SqlDependencyUtils.cs
- DataGridViewTextBoxEditingControl.cs
- ColorInterpolationModeValidation.cs
- PropertyManager.cs
- StringHelper.cs
- UMPAttributes.cs
- StateMachine.cs
- ConstructorNeedsTagAttribute.cs
- RestClientProxyHandler.cs
- TextParagraphCache.cs
- ThemeDictionaryExtension.cs
- XsdDateTime.cs
- SessionIDManager.cs
- PointAnimationUsingKeyFrames.cs
- RelatedPropertyManager.cs
- XmlStringTable.cs
- IndexExpression.cs
- UIElement.cs
- InstanceHandleReference.cs
- NamedPermissionSet.cs
- FilterEventArgs.cs
- FilterableData.cs
- CompModHelpers.cs
- DesignBindingPropertyDescriptor.cs
- LoginCancelEventArgs.cs
- WebPartZoneCollection.cs
- SignedPkcs7.cs
- DeviceContexts.cs
- MetadataItemEmitter.cs
- StructuralObject.cs
- HtmlInputControl.cs
- CodeSubDirectory.cs
- CollectionChangedEventManager.cs
- CommunicationObjectAbortedException.cs
- ProcessHostMapPath.cs
- ListViewUpdateEventArgs.cs
- VectorKeyFrameCollection.cs
- Stylesheet.cs
- FormViewInsertEventArgs.cs
- SatelliteContractVersionAttribute.cs
- ImageKeyConverter.cs
- OneToOneMappingSerializer.cs
- EventMemberCodeDomSerializer.cs
- HeaderedContentControl.cs
- ElementMarkupObject.cs
- ScheduleChanges.cs
- ColorTranslator.cs
- DesignerCatalogPartChrome.cs
- InArgumentConverter.cs
- BinaryEditor.cs
- Message.cs
- ScriptingAuthenticationServiceSection.cs
- XmlDocumentType.cs
- WorkflowView.cs
- LocalizableResourceBuilder.cs
- DataGridDetailsPresenterAutomationPeer.cs
- TextBoxAutomationPeer.cs
- Range.cs
- ProxyDataContractResolver.cs
- Signature.cs
- StreamSecurityUpgradeInitiator.cs
- NetDispatcherFaultException.cs
- WindowsScroll.cs
- XmlDataSourceView.cs
- HeaderCollection.cs
- WorkflowServiceHost.cs
- KeyValuePairs.cs
- Mappings.cs
- RegexGroupCollection.cs
- TextTabProperties.cs
- List.cs
- ManifestResourceInfo.cs
- SerialReceived.cs
- WindowsListViewGroupSubsetLink.cs
- SQLGuid.cs
- OSFeature.cs
- ListBase.cs
- SystemThemeKey.cs
- _UriTypeConverter.cs
- ObjectReaderCompiler.cs
- AssemblyHash.cs
- WeakEventTable.cs
- WebPartActionVerb.cs
- OuterGlowBitmapEffect.cs
- Point.cs
- PropVariant.cs
- ClientConfigurationHost.cs
- TrackingValidationObjectDictionary.cs
- FormatSettings.cs
- VirtualDirectoryMappingCollection.cs
- dataobject.cs
- CodeAttributeDeclarationCollection.cs
- SamlAttributeStatement.cs
- GridViewCancelEditEventArgs.cs