Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Net / System / Net / _NestedSingleAsyncResult.cs / 1305376 / _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 // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- Pipe.cs
- FlowDocument.cs
- SafeHandle.cs
- UserControl.cs
- XsltLibrary.cs
- RegexCompiler.cs
- HttpRequestTraceRecord.cs
- TcpHostedTransportConfiguration.cs
- XmlSortKeyAccumulator.cs
- IDispatchConstantAttribute.cs
- Deserializer.cs
- TypeConverterHelper.cs
- MobileResource.cs
- RSAPKCS1KeyExchangeFormatter.cs
- CompiledELinqQueryState.cs
- MetadataStore.cs
- BitmapEffectOutputConnector.cs
- XmlEntityReference.cs
- GeneralTransformGroup.cs
- Cursor.cs
- GetLastErrorDetailsRequest.cs
- DeflateEmulationStream.cs
- NotImplementedException.cs
- BrowserCapabilitiesCodeGenerator.cs
- Path.cs
- StaticFileHandler.cs
- Int32Storage.cs
- ParserHooks.cs
- OleDbRowUpdatingEvent.cs
- Rotation3DAnimation.cs
- SemanticAnalyzer.cs
- HistoryEventArgs.cs
- ExpressionBindings.cs
- TabControlEvent.cs
- InnerItemCollectionView.cs
- TextEmbeddedObject.cs
- BounceEase.cs
- LookupBindingPropertiesAttribute.cs
- PropertyPathWorker.cs
- Solver.cs
- FolderLevelBuildProviderCollection.cs
- OdbcConnectionStringbuilder.cs
- MemberAssignment.cs
- InternalSafeNativeMethods.cs
- SecurityContextSecurityToken.cs
- RestHandlerFactory.cs
- WebPartsPersonalization.cs
- ObjectToIdCache.cs
- RootCodeDomSerializer.cs
- Errors.cs
- OpCellTreeNode.cs
- MsmqIntegrationMessageProperty.cs
- Queue.cs
- MonitoringDescriptionAttribute.cs
- SamlAuthorityBinding.cs
- ToolTipAutomationPeer.cs
- MultiByteCodec.cs
- UrlAuthorizationModule.cs
- WinFormsComponentEditor.cs
- CriticalFileToken.cs
- TripleDESCryptoServiceProvider.cs
- SettingsAttributeDictionary.cs
- SqlParameterCollection.cs
- WorkflowRuntimeServicesBehavior.cs
- ExpressionBuilderContext.cs
- Dynamic.cs
- CompleteWizardStep.cs
- documentation.cs
- IssuedTokensHeader.cs
- RouteValueDictionary.cs
- NativeMethods.cs
- SingleQueryOperator.cs
- Control.cs
- CapacityStreamGeometryContext.cs
- DomNameTable.cs
- CompensatableTransactionScopeActivity.cs
- ISAPIWorkerRequest.cs
- CharacterBuffer.cs
- AggregateNode.cs
- ByteStream.cs
- HashStream.cs
- GraphicsContext.cs
- ServiceOperationParameter.cs
- XmlReaderSettings.cs
- EnvelopeVersion.cs
- XmlSchemaAnyAttribute.cs
- MappableObjectManager.cs
- PageRouteHandler.cs
- ResourceDictionaryCollection.cs
- TabControlCancelEvent.cs
- DelegatingChannelListener.cs
- HandoffBehavior.cs
- ContextQuery.cs
- SecurityTokenProvider.cs
- NetworkStream.cs
- EncryptedData.cs
- CssStyleCollection.cs
- DbQueryCommandTree.cs
- ToolCreatedEventArgs.cs
- PlainXmlDeserializer.cs