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
- TreeNodeCollection.cs
- TreeBuilderXamlTranslator.cs
- SqlProcedureAttribute.cs
- UrlParameterReader.cs
- SetterBaseCollection.cs
- WebPartRestoreVerb.cs
- CfgParser.cs
- BrushValueSerializer.cs
- safex509handles.cs
- FlowchartSizeFeature.cs
- DocumentPageView.cs
- SystemThemeKey.cs
- CultureSpecificStringDictionary.cs
- DelegatingTypeDescriptionProvider.cs
- ToolZone.cs
- TemplateBindingExtension.cs
- GlobalDataBindingHandler.cs
- Debug.cs
- OracleParameterBinding.cs
- UrlAuthorizationModule.cs
- AspNetSynchronizationContext.cs
- TextAdaptor.cs
- TextAdaptor.cs
- CommentEmitter.cs
- ChannelServices.cs
- CapabilitiesAssignment.cs
- MergeExecutor.cs
- DbDataRecord.cs
- AsyncPostBackErrorEventArgs.cs
- InputProviderSite.cs
- HtmlInputImage.cs
- TransformationRules.cs
- Propagator.JoinPropagator.cs
- XmlUtf8RawTextWriter.cs
- ExpressionBindings.cs
- SelectedDatesCollection.cs
- DataFieldConverter.cs
- PointHitTestResult.cs
- BinaryObjectInfo.cs
- MobileRedirect.cs
- WhitespaceRuleReader.cs
- RSAPKCS1KeyExchangeFormatter.cs
- DbConnectionPoolGroup.cs
- XmlCountingReader.cs
- ThemeInfoAttribute.cs
- ColorPalette.cs
- MemberInfoSerializationHolder.cs
- XmlQuerySequence.cs
- FrameworkContextData.cs
- QilName.cs
- ValidatorCompatibilityHelper.cs
- InputLanguage.cs
- CodeDOMProvider.cs
- GeneralTransformGroup.cs
- ManagedWndProcTracker.cs
- EntityClassGenerator.cs
- EncryptRequest.cs
- DataBoundControlParameterTarget.cs
- SuppressIldasmAttribute.cs
- MenuRendererClassic.cs
- ConnectionStringsExpressionBuilder.cs
- SpanIndex.cs
- NetCodeGroup.cs
- SoundPlayer.cs
- ImageIndexConverter.cs
- GenericUriParser.cs
- PropertyChangedEventManager.cs
- FixedPage.cs
- PointUtil.cs
- figurelength.cs
- translator.cs
- CountdownEvent.cs
- ServiceOperationWrapper.cs
- AppSecurityManager.cs
- TreeNodeMouseHoverEvent.cs
- DataContractSerializer.cs
- HttpServerUtilityWrapper.cs
- FormsAuthentication.cs
- LabelExpression.cs
- GradientStopCollection.cs
- Tablet.cs
- CTreeGenerator.cs
- DiscoveryVersionConverter.cs
- Internal.cs
- formatstringdialog.cs
- OlePropertyStructs.cs
- ProgressPage.cs
- Misc.cs
- BooleanExpr.cs
- ButtonField.cs
- DataSourceCache.cs
- control.ime.cs
- RenderOptions.cs
- MetadataUtil.cs
- TreeViewDataItemAutomationPeer.cs
- UnionExpr.cs
- _AcceptOverlappedAsyncResult.cs
- ContentElementCollection.cs
- XmlNamespaceDeclarationsAttribute.cs
- Base64Stream.cs