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
- CodeDomComponentSerializationService.cs
- AdPostCacheSubstitution.cs
- HitTestWithGeometryDrawingContextWalker.cs
- AutoResetEvent.cs
- FormatControl.cs
- SerializerWriterEventHandlers.cs
- Transform.cs
- DataServiceRequestArgs.cs
- CopyAttributesAction.cs
- HtmlTableCellCollection.cs
- InvariantComparer.cs
- safelinkcollection.cs
- MethodCallConverter.cs
- EdgeModeValidation.cs
- IconHelper.cs
- DataGridViewRowHeaderCell.cs
- ServiceElement.cs
- Int64AnimationUsingKeyFrames.cs
- LineServicesCallbacks.cs
- SqlDataSourceCommandEventArgs.cs
- XmlAttributeProperties.cs
- MatrixValueSerializer.cs
- ManagementQuery.cs
- BodyGlyph.cs
- TemplateControlParser.cs
- BaseResourcesBuildProvider.cs
- AspNetRouteServiceHttpHandler.cs
- XmlEntityReference.cs
- ToolStripStatusLabel.cs
- SafeMILHandle.cs
- CTreeGenerator.cs
- AdPostCacheSubstitution.cs
- NativeObjectSecurity.cs
- StorageRoot.cs
- WindowsFormsSynchronizationContext.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- ResourceBinder.cs
- SHA512Cng.cs
- ArrayExtension.cs
- MouseWheelEventArgs.cs
- DataListGeneralPage.cs
- MetabaseServerConfig.cs
- AssemblyBuilderData.cs
- SingleStorage.cs
- ParserHooks.cs
- ChangeConflicts.cs
- ReadOnlyAttribute.cs
- FillRuleValidation.cs
- XMLDiffLoader.cs
- ContextMenu.cs
- OleStrCAMarshaler.cs
- Privilege.cs
- ImplicitInputBrush.cs
- FixedSOMPageElement.cs
- GrammarBuilderBase.cs
- PeerEndPoint.cs
- HotCommands.cs
- XmlNamespaceMappingCollection.cs
- MatrixCamera.cs
- DefaultBinder.cs
- HttpChannelBindingToken.cs
- DiagnosticTraceSource.cs
- HtmlDocument.cs
- Int64Animation.cs
- BaseHashHelper.cs
- BindingMAnagerBase.cs
- oledbconnectionstring.cs
- DataRowView.cs
- GroupItem.cs
- TransformConverter.cs
- SqlDependencyListener.cs
- CLSCompliantAttribute.cs
- Error.cs
- DefaultValueConverter.cs
- AuthenticationModuleElementCollection.cs
- EncodingNLS.cs
- CssTextWriter.cs
- Code.cs
- DesignTimeParseData.cs
- SynchronizationValidator.cs
- ObjectDesignerDataSourceView.cs
- Geometry3D.cs
- Clipboard.cs
- IItemContainerGenerator.cs
- FixedPageProcessor.cs
- FilterableData.cs
- SchemaTypeEmitter.cs
- RuleRef.cs
- SecurityTraceRecordHelper.cs
- RegexWriter.cs
- Command.cs
- MapPathBasedVirtualPathProvider.cs
- AnimationException.cs
- HtmlInputHidden.cs
- ApplicationServicesHostFactory.cs
- TextSearch.cs
- FolderBrowserDialog.cs
- GradientStop.cs
- BulletedList.cs
- Hashtable.cs