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
- Header.cs
- ListViewAutomationPeer.cs
- CodeParameterDeclarationExpression.cs
- TextEditorTyping.cs
- TextLine.cs
- Margins.cs
- TextChange.cs
- NumberFormatter.cs
- ImageUrlEditor.cs
- TableCellCollection.cs
- OletxDependentTransaction.cs
- CompiledELinqQueryState.cs
- WS2007HttpBindingCollectionElement.cs
- SmtpException.cs
- EndpointInstanceProvider.cs
- MessageParameterAttribute.cs
- RoutedEventArgs.cs
- FontCacheLogic.cs
- Marshal.cs
- DataMember.cs
- DataGridViewColumnStateChangedEventArgs.cs
- FormViewUpdateEventArgs.cs
- DataReaderContainer.cs
- Size.cs
- RegisteredScript.cs
- DefaultTraceListener.cs
- XhtmlBasicListAdapter.cs
- SharedPerformanceCounter.cs
- MD5.cs
- StorageConditionPropertyMapping.cs
- PasswordPropertyTextAttribute.cs
- Int32KeyFrameCollection.cs
- ItemList.cs
- SendingRequestEventArgs.cs
- Identifier.cs
- MiniParameterInfo.cs
- DrawListViewColumnHeaderEventArgs.cs
- RegexWriter.cs
- MatrixValueSerializer.cs
- ArgumentsParser.cs
- FloaterBaseParagraph.cs
- ErrorsHelper.cs
- MultiPageTextView.cs
- EntityObject.cs
- IndexingContentUnit.cs
- ResourceExpressionBuilder.cs
- EntityDataSourceConfigureObjectContext.cs
- LoadMessageLogger.cs
- AttributeEmitter.cs
- MobileControlsSectionHandler.cs
- ExeContext.cs
- SQLResource.cs
- LayoutSettings.cs
- GeneralTransformGroup.cs
- CodeMemberProperty.cs
- __ComObject.cs
- UnsafeNativeMethods.cs
- DataGridDesigner.cs
- FixedFlowMap.cs
- DbProviderFactories.cs
- OutputCache.cs
- AsymmetricKeyExchangeDeformatter.cs
- DeviceFilterEditorDialog.cs
- MissingFieldException.cs
- AutomationPropertyInfo.cs
- Region.cs
- ContextMenuStrip.cs
- BuildProviderCollection.cs
- SqlDataReader.cs
- Privilege.cs
- ConfigXmlElement.cs
- BoundPropertyEntry.cs
- SecurityDocument.cs
- WpfGeneratedKnownProperties.cs
- SafeNativeMethodsCLR.cs
- WeakRefEnumerator.cs
- AsynchronousChannel.cs
- XmlDownloadManager.cs
- NavigationProgressEventArgs.cs
- EmbossBitmapEffect.cs
- AtlasWeb.Designer.cs
- ServiceEndpointAssociationProvider.cs
- RuleInfoComparer.cs
- OleDbRowUpdatingEvent.cs
- ClientUrlResolverWrapper.cs
- Point3DCollection.cs
- CodeExpressionRuleDeclaration.cs
- AutomationAttributeInfo.cs
- Utils.cs
- HttpErrorTraceRecord.cs
- dsa.cs
- RightsManagementInformation.cs
- GridViewPageEventArgs.cs
- unitconverter.cs
- RawMouseInputReport.cs
- WebBrowser.cs
- CommandSet.cs
- HostedTransportConfigurationBase.cs
- ColumnHeaderConverter.cs
- PingReply.cs