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
- ButtonAutomationPeer.cs
- NumericUpDownAccelerationCollection.cs
- handlecollector.cs
- MembershipValidatePasswordEventArgs.cs
- XPathDocumentNavigator.cs
- ConfigurationCollectionAttribute.cs
- ShaderRenderModeValidation.cs
- EventLogEntry.cs
- _PooledStream.cs
- StackBuilderSink.cs
- WebServicesInteroperability.cs
- ColorContextHelper.cs
- TypedReference.cs
- TreeWalkHelper.cs
- BaseAddressElementCollection.cs
- StandardToolWindows.cs
- XPathEmptyIterator.cs
- URLString.cs
- DecoratedNameAttribute.cs
- SchemaCollectionCompiler.cs
- FormattedTextSymbols.cs
- SmtpNegotiateAuthenticationModule.cs
- StaticContext.cs
- SqlTypesSchemaImporter.cs
- RegexGroup.cs
- HttpModuleAction.cs
- ParserHooks.cs
- TextRunCacheImp.cs
- MessageQueuePermissionEntryCollection.cs
- TabPanel.cs
- HitTestFilterBehavior.cs
- ThreadStaticAttribute.cs
- infer.cs
- DataBinding.cs
- ApplicationSecurityManager.cs
- WinCategoryAttribute.cs
- BodyGlyph.cs
- FacetValueContainer.cs
- ResXFileRef.cs
- _StreamFramer.cs
- PathSegment.cs
- DataGridViewSelectedCellCollection.cs
- GroupBox.cs
- CqlGenerator.cs
- TypeConverterAttribute.cs
- WinFormsUtils.cs
- DocumentReference.cs
- RoutedEventConverter.cs
- UIElementParagraph.cs
- PointLightBase.cs
- WebPartConnectionsEventArgs.cs
- AuthenticationSection.cs
- TextEditorTyping.cs
- Section.cs
- Html32TextWriter.cs
- PerfCounterSection.cs
- unitconverter.cs
- WebPartMenu.cs
- HtmlTitle.cs
- TextOutput.cs
- StructuredType.cs
- ServerIdentity.cs
- JsonWriterDelegator.cs
- StreamingContext.cs
- WaitHandleCannotBeOpenedException.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- SymmetricCryptoHandle.cs
- HttpServerVarsCollection.cs
- HandlerMappingMemo.cs
- CheckBoxDesigner.cs
- ContentPosition.cs
- PluralizationService.cs
- COAUTHIDENTITY.cs
- EnvironmentPermission.cs
- StringKeyFrameCollection.cs
- DeploymentSection.cs
- MobileListItemCollection.cs
- ActivityExecutor.cs
- CacheChildrenQuery.cs
- TextOutput.cs
- SmiRecordBuffer.cs
- WebSysDescriptionAttribute.cs
- UITypeEditor.cs
- FileSystemInfo.cs
- DaylightTime.cs
- DocumentPage.cs
- RegisteredScript.cs
- Type.cs
- WebPartMenuStyle.cs
- ValidationSummaryDesigner.cs
- SchemaImporterExtensionsSection.cs
- PageSettings.cs
- CacheMode.cs
- HealthMonitoringSection.cs
- MessageLoggingFilterTraceRecord.cs
- SmiContextFactory.cs
- DataGridViewElement.cs
- ChtmlPhoneCallAdapter.cs
- FlowStep.cs
- ResXFileRef.cs