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
- BuildManager.cs
- DerivedKeyCachingSecurityTokenSerializer.cs
- SimpleWebHandlerParser.cs
- SqlDataSourceView.cs
- CqlParserHelpers.cs
- RelationshipNavigation.cs
- CriticalHandle.cs
- XmlDocumentType.cs
- OleDbError.cs
- AlignmentYValidation.cs
- WebRequestModuleElementCollection.cs
- XamlStackWriter.cs
- MergePropertyDescriptor.cs
- XPathScanner.cs
- DataMemberAttribute.cs
- CodeMemberField.cs
- ReadOnlyState.cs
- DoubleLinkList.cs
- XmlQualifiedNameTest.cs
- SqlInternalConnectionTds.cs
- InteropBitmapSource.cs
- EditorZone.cs
- WizardSideBarListControlItem.cs
- ImmutableCollection.cs
- _BasicClient.cs
- Transactions.cs
- AndCondition.cs
- RadioButton.cs
- LinqDataSourceUpdateEventArgs.cs
- RecognizedPhrase.cs
- TextRunCacheImp.cs
- AcceptorSessionSymmetricTransportSecurityProtocol.cs
- HostExecutionContextManager.cs
- CodeEventReferenceExpression.cs
- XmlSchemaAnnotation.cs
- NotImplementedException.cs
- XmlAutoDetectWriter.cs
- StateDesigner.Layouts.cs
- DataObjectPastingEventArgs.cs
- ComponentResourceKey.cs
- WindowsAuthenticationEventArgs.cs
- ContractMapping.cs
- StructuralComparisons.cs
- DbConnectionStringCommon.cs
- EntityDataSourceContainerNameItem.cs
- IOException.cs
- RC2CryptoServiceProvider.cs
- UniqueIdentifierService.cs
- LogicalTreeHelper.cs
- Empty.cs
- CodePageEncoding.cs
- EntityDataSourceWizardForm.cs
- RegexParser.cs
- ConnectionStringSettings.cs
- ZoomingMessageFilter.cs
- DbParameterHelper.cs
- TaiwanCalendar.cs
- MembershipValidatePasswordEventArgs.cs
- BufferedWebEventProvider.cs
- NamedPipeAppDomainProtocolHandler.cs
- ExeConfigurationFileMap.cs
- XmlTextEncoder.cs
- HttpCookie.cs
- ViewgenContext.cs
- PreviewKeyDownEventArgs.cs
- SQLBytesStorage.cs
- PowerStatus.cs
- InputMethodStateChangeEventArgs.cs
- RelationshipEndCollection.cs
- HostingEnvironment.cs
- ElementsClipboardData.cs
- ProfileInfo.cs
- InvalidOperationException.cs
- PriorityItem.cs
- UInt16Converter.cs
- ExtensionSurface.cs
- HtmlGenericControl.cs
- IntPtr.cs
- TextFormatterImp.cs
- WindowsFormsHelpers.cs
- NamespaceMapping.cs
- SmtpCommands.cs
- Encoder.cs
- NonSerializedAttribute.cs
- SqlReorderer.cs
- PageClientProxyGenerator.cs
- XmlSchemaAnyAttribute.cs
- StylusPointPropertyInfoDefaults.cs
- X509InitiatorCertificateServiceElement.cs
- LongValidator.cs
- CqlLexerHelpers.cs
- HeaderCollection.cs
- DocumentViewerHelper.cs
- XPathSelfQuery.cs
- Propagator.JoinPropagator.JoinPredicateVisitor.cs
- SHA1Managed.cs
- HtmlContainerControl.cs
- DesignerActionService.cs
- WhitespaceRuleLookup.cs
- ReadOnlyHierarchicalDataSource.cs