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
- DeviceSpecificChoiceCollection.cs
- GB18030Encoding.cs
- XmlElementCollection.cs
- NullableLongAverageAggregationOperator.cs
- SerializerWriterEventHandlers.cs
- DateTimeConverter.cs
- DateTimeParse.cs
- validationstate.cs
- SqlParameterCollection.cs
- ServiceReference.cs
- HasCopySemanticsAttribute.cs
- TemplateField.cs
- BinHexDecoder.cs
- ValidatingReaderNodeData.cs
- RawMouseInputReport.cs
- DeflateStream.cs
- EntityDataSourceWrapper.cs
- XmlTextReader.cs
- Convert.cs
- TraceContextEventArgs.cs
- HttpMethodConstraint.cs
- HttpDictionary.cs
- ScrollBar.cs
- CrossContextChannel.cs
- StringReader.cs
- HTMLTagNameToTypeMapper.cs
- OutOfProcStateClientManager.cs
- MenuItemCollection.cs
- MediaContextNotificationWindow.cs
- ArcSegment.cs
- Light.cs
- DesignerAutoFormat.cs
- RSAOAEPKeyExchangeFormatter.cs
- UpdatePanel.cs
- BooleanFacetDescriptionElement.cs
- SourceItem.cs
- ListViewDeletedEventArgs.cs
- NonceCache.cs
- TemplateBindingExtension.cs
- DependencyObjectProvider.cs
- DiscoveryClientProtocol.cs
- SqlNodeAnnotation.cs
- InstanceKeyCompleteException.cs
- ScrollItemPattern.cs
- TogglePattern.cs
- Int16Converter.cs
- DesignerCommandSet.cs
- BlurBitmapEffect.cs
- TcpChannelHelper.cs
- ListenerChannelContext.cs
- FixedSOMLineCollection.cs
- GridItemProviderWrapper.cs
- MsmqReceiveHelper.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- _CommandStream.cs
- XDRSchema.cs
- DataGridViewCellStyleConverter.cs
- XmlSignatureProperties.cs
- COAUTHIDENTITY.cs
- ErrorFormatterPage.cs
- ExecutionProperties.cs
- EventHandlerService.cs
- X509ChainPolicy.cs
- AttachedAnnotationChangedEventArgs.cs
- XmlSerializerFactory.cs
- WorkItem.cs
- ProxyAttribute.cs
- SqlClientWrapperSmiStream.cs
- EntityClassGenerator.cs
- EntitySqlQueryCacheEntry.cs
- DocumentXmlWriter.cs
- IgnoreSection.cs
- LogRestartAreaEnumerator.cs
- HashCryptoHandle.cs
- PermissionListSet.cs
- XXXInfos.cs
- UriSectionReader.cs
- NavigationCommands.cs
- ZeroOpNode.cs
- MatrixValueSerializer.cs
- HtmlContainerControl.cs
- TrackingQuery.cs
- AliasedExpr.cs
- TypefaceMap.cs
- BitmapEffect.cs
- ReliableOutputConnection.cs
- CodeDirectionExpression.cs
- CqlLexer.cs
- TextSegment.cs
- XmlWrappingReader.cs
- CompressedStack.cs
- ToolStrip.cs
- LinqMaximalSubtreeNominator.cs
- Condition.cs
- XmlSchemaInfo.cs
- ObjectNavigationPropertyMapping.cs
- StrictAndMessageFilter.cs
- XmlAttributeAttribute.cs
- SByteConverter.cs
- MachineSettingsSection.cs