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
- ScrollItemPatternIdentifiers.cs
- _SslStream.cs
- KeyFrames.cs
- BindingMemberInfo.cs
- Rect3DConverter.cs
- Command.cs
- InputScopeConverter.cs
- AnimationTimeline.cs
- LinqDataSourceUpdateEventArgs.cs
- DesignTimeResourceProviderFactoryAttribute.cs
- SqlHelper.cs
- ValueType.cs
- SafeThreadHandle.cs
- ComplexTypeEmitter.cs
- TypeElement.cs
- StylusButtonEventArgs.cs
- XslTransformFileEditor.cs
- ToolStripPanel.cs
- StringUtil.cs
- AssociationEndMember.cs
- VectorValueSerializer.cs
- AsyncCompletedEventArgs.cs
- TextAutomationPeer.cs
- GeometryConverter.cs
- SmtpClient.cs
- DbDataRecord.cs
- ListItemParagraph.cs
- Padding.cs
- DataSourceGeneratorException.cs
- SQLBytes.cs
- SqlCrossApplyToCrossJoin.cs
- WaitForChangedResult.cs
- PrtCap_Builder.cs
- TextElementCollectionHelper.cs
- SchemaObjectWriter.cs
- XmlObjectSerializerReadContext.cs
- OdbcDataAdapter.cs
- TreeNodeClickEventArgs.cs
- FunctionParameter.cs
- UrlMappingsModule.cs
- ZipIOExtraField.cs
- FileStream.cs
- CompilationSection.cs
- RepeatButtonAutomationPeer.cs
- ApplicationServicesHostFactory.cs
- HttpAsyncResult.cs
- QueryExtender.cs
- StringResourceManager.cs
- ImageMap.cs
- LocalValueEnumerator.cs
- SpAudioStreamWrapper.cs
- WebPartMovingEventArgs.cs
- XPathAncestorQuery.cs
- XamlBuildProvider.cs
- ObjectTypeMapping.cs
- PropertyEmitterBase.cs
- MinimizableAttributeTypeConverter.cs
- PolicyAssertionCollection.cs
- QueryContinueDragEvent.cs
- login.cs
- Triplet.cs
- XamlSerializer.cs
- ObjectSecurity.cs
- MobileCategoryAttribute.cs
- XmlImplementation.cs
- TextSchema.cs
- MouseBinding.cs
- BitmapCodecInfo.cs
- ProviderBase.cs
- ListViewSelectEventArgs.cs
- IpcChannelHelper.cs
- DataFieldConverter.cs
- OSFeature.cs
- CultureInfoConverter.cs
- PassportAuthenticationEventArgs.cs
- SByteStorage.cs
- BufferedReadStream.cs
- RootBuilder.cs
- TextFormatterImp.cs
- MediaContext.cs
- DynamicPropertyHolder.cs
- Content.cs
- infer.cs
- SiteMembershipCondition.cs
- SplineKeyFrames.cs
- DirectoryGroupQuery.cs
- SmtpCommands.cs
- XmlWrappingReader.cs
- ApplyHostConfigurationBehavior.cs
- XamlRtfConverter.cs
- RoutedEventHandlerInfo.cs
- ListViewPagedDataSource.cs
- BrowserTree.cs
- RotateTransform3D.cs
- VersionPair.cs
- SqlDependency.cs
- HtmlForm.cs
- WebPartVerbsEventArgs.cs
- Size3D.cs
- _IPv4Address.cs