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
- XmlUtilWriter.cs
- SpellerError.cs
- Geometry.cs
- OlePropertyStructs.cs
- NavigationFailedEventArgs.cs
- WizardStepBase.cs
- Errors.cs
- SynchronizationScope.cs
- ControlDesigner.cs
- StateFinalizationDesigner.cs
- ControlPropertyNameConverter.cs
- LineGeometry.cs
- Group.cs
- BamlLocalizationDictionary.cs
- LayoutTable.cs
- HttpRuntimeSection.cs
- X509ScopedServiceCertificateElement.cs
- ValueProviderWrapper.cs
- PolyLineSegment.cs
- EnumConverter.cs
- DESCryptoServiceProvider.cs
- StringValueConverter.cs
- Point3DConverter.cs
- BufferedGraphics.cs
- LinkArea.cs
- ScrollableControl.cs
- CompositeActivityTypeDescriptor.cs
- OnOperation.cs
- PageMediaType.cs
- IPPacketInformation.cs
- TypeListConverter.cs
- BuildManagerHost.cs
- UIElement.cs
- StyleModeStack.cs
- DataGridViewRowContextMenuStripNeededEventArgs.cs
- DataGridViewLinkCell.cs
- WebPartUtil.cs
- XmlHelper.cs
- Transform.cs
- SessionEndingCancelEventArgs.cs
- PropertyChangingEventArgs.cs
- QilName.cs
- XmlException.cs
- MessageHeaderT.cs
- DataViewSetting.cs
- bindurihelper.cs
- TreeViewItemAutomationPeer.cs
- ComponentEditorForm.cs
- SqlBuffer.cs
- AsyncPostBackErrorEventArgs.cs
- TabItem.cs
- WebDisplayNameAttribute.cs
- GridProviderWrapper.cs
- SpeechUI.cs
- FormatVersion.cs
- FontSource.cs
- SectionRecord.cs
- TemplateXamlParser.cs
- TextRangeAdaptor.cs
- DataGridAutomationPeer.cs
- TypeDescriptionProviderAttribute.cs
- ListItemCollection.cs
- ExitEventArgs.cs
- PasswordTextContainer.cs
- RewritingSimplifier.cs
- CellConstant.cs
- _HelperAsyncResults.cs
- PinnedBufferMemoryStream.cs
- DetailsViewDeletedEventArgs.cs
- VariableQuery.cs
- IDictionary.cs
- ReturnType.cs
- CodeDOMUtility.cs
- NumberFormatter.cs
- HtmlHistory.cs
- PasswordRecovery.cs
- CustomError.cs
- SingleResultAttribute.cs
- DateTime.cs
- JsonReaderDelegator.cs
- HMACSHA512.cs
- CommandField.cs
- Rectangle.cs
- BlurBitmapEffect.cs
- FixedSOMLineCollection.cs
- WsdlImporter.cs
- TdsEnums.cs
- EventLogPermissionEntry.cs
- ParagraphResult.cs
- RawMouseInputReport.cs
- PermissionSetTriple.cs
- DoubleLink.cs
- ListBindableAttribute.cs
- ServiceOperationInvoker.cs
- FilteredReadOnlyMetadataCollection.cs
- WebFaultException.cs
- IFormattable.cs
- LocationSectionRecord.cs
- WebPartConnectionsCloseVerb.cs
- DataError.cs