Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / fx / src / Services / Messaging / System / Messaging / ReceiveCompletedEventArgs.cs / 1305376 / ReceiveCompletedEventArgs.cs
//------------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------------- namespace System.Messaging { using System.Diagnostics; using System; ////// /// public class ReceiveCompletedEventArgs : EventArgs { private IAsyncResult result; private Message message; private MessageQueue sender; ///Provides data for the ////// event. /// internal ReceiveCompletedEventArgs(MessageQueue sender, IAsyncResult result) { this.result = result; this.sender = sender; } /// /// /// public IAsyncResult AsyncResult { get { return this.result; } set { this.result = value; } } ///Contains the result of the asynchronous /// operation requested. ////// /// public Message Message { get { if (this.message == null) { try { this.message = this.sender.EndReceive(result); } catch { throw; } } return this.message; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.The end result of the posted asynchronous receive /// operation. ///
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CorrelationManager.cs
- PackWebResponse.cs
- PolygonHotSpot.cs
- RedirectionProxy.cs
- ToolStripSettings.cs
- AnnouncementEndpoint.cs
- ClientConfigurationSystem.cs
- CodeTypeDeclaration.cs
- InternalBufferOverflowException.cs
- XPathExpr.cs
- TaiwanCalendar.cs
- ExtensionWindowHeader.cs
- SHA256CryptoServiceProvider.cs
- DocumentViewerHelper.cs
- HyperlinkAutomationPeer.cs
- HtmlInputFile.cs
- WindowsSolidBrush.cs
- SoapSchemaImporter.cs
- ReflectionTypeLoadException.cs
- CopyNamespacesAction.cs
- CapabilitiesState.cs
- StringReader.cs
- KnownTypeHelper.cs
- shaperfactoryquerycacheentry.cs
- TemplateBamlRecordReader.cs
- SystemUdpStatistics.cs
- GridViewUpdateEventArgs.cs
- WeakRefEnumerator.cs
- NullRuntimeConfig.cs
- RemotingServices.cs
- GeneralTransform3D.cs
- WindowsListBox.cs
- Exceptions.cs
- OpenTypeLayoutCache.cs
- RootCodeDomSerializer.cs
- PathFigure.cs
- Interlocked.cs
- ItemsPresenter.cs
- TypedReference.cs
- ContentPresenter.cs
- SHA1.cs
- DiscreteKeyFrames.cs
- PopOutPanel.cs
- RenderTargetBitmap.cs
- ByteAnimationBase.cs
- Point.cs
- DockProviderWrapper.cs
- BindingElement.cs
- RelationshipFixer.cs
- ValidatingReaderNodeData.cs
- SerializationInfoEnumerator.cs
- CopyEncoder.cs
- Selection.cs
- ClientSettings.cs
- _SpnDictionary.cs
- XPathAxisIterator.cs
- DelayedRegex.cs
- Marshal.cs
- ManipulationCompletedEventArgs.cs
- TargetControlTypeCache.cs
- ToolCreatedEventArgs.cs
- TouchEventArgs.cs
- TemplatePagerField.cs
- StringConcat.cs
- RadioButtonAutomationPeer.cs
- GridLength.cs
- AppDomain.cs
- CustomErrorsSection.cs
- DbConnectionPoolGroup.cs
- DateTimeAutomationPeer.cs
- PenThreadWorker.cs
- _IPv4Address.cs
- StringPropertyBuilder.cs
- SoapWriter.cs
- TraceUtility.cs
- ContentFilePart.cs
- mda.cs
- ParallelTimeline.cs
- TransformerTypeCollection.cs
- Parameter.cs
- MailSettingsSection.cs
- ChooseAction.cs
- ProxyOperationRuntime.cs
- CannotUnloadAppDomainException.cs
- InkPresenterAutomationPeer.cs
- GlyphCollection.cs
- RegexReplacement.cs
- IncrementalReadDecoders.cs
- CalendarTable.cs
- DataSourceProvider.cs
- DiscoveryClientRequestChannel.cs
- EditorPart.cs
- PersonalizationProviderHelper.cs
- ReadOnlyAttribute.cs
- DataGridViewRowPrePaintEventArgs.cs
- storepermission.cs
- CallbackValidator.cs
- SqlConnectionPoolProviderInfo.cs
- ApplicationFileParser.cs
- GridSplitter.cs