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
- TransformedBitmap.cs
- ByeOperationCD1AsyncResult.cs
- regiisutil.cs
- InternalEnumValidatorAttribute.cs
- GridPatternIdentifiers.cs
- XPathSelfQuery.cs
- PrivateFontCollection.cs
- BaseUriHelper.cs
- HealthMonitoringSectionHelper.cs
- RenamedEventArgs.cs
- COM2ComponentEditor.cs
- GroupItem.cs
- XmlAttributeAttribute.cs
- SuppressMergeCheckAttribute.cs
- Style.cs
- XmlSchemaSimpleTypeUnion.cs
- ProgressBar.cs
- SystemWebSectionGroup.cs
- PathParser.cs
- BeginCreateSecurityTokenRequest.cs
- SqlMetaData.cs
- FederatedMessageSecurityOverHttp.cs
- ProviderMetadata.cs
- WebPartDisplayModeCancelEventArgs.cs
- XmlSchemas.cs
- Inflater.cs
- PlatformCulture.cs
- Operators.cs
- DataGridTablesFactory.cs
- FileClassifier.cs
- SortKey.cs
- WindowsSpinner.cs
- TransformConverter.cs
- IntegerValidator.cs
- ObjectDataSourceEventArgs.cs
- TileBrush.cs
- QilStrConcatenator.cs
- UIHelper.cs
- WpfPayload.cs
- SqlFlattener.cs
- Point3DKeyFrameCollection.cs
- CssTextWriter.cs
- MailMessageEventArgs.cs
- SqlCommandBuilder.cs
- XmlReflectionImporter.cs
- FilterableAttribute.cs
- InputLanguageManager.cs
- SizeChangedInfo.cs
- TextModifierScope.cs
- SerializationAttributes.cs
- AnnotationResourceCollection.cs
- SqlClientWrapperSmiStreamChars.cs
- MimeFormatter.cs
- MenuEventArgs.cs
- BooleanAnimationUsingKeyFrames.cs
- PageParserFilter.cs
- PropertySourceInfo.cs
- _CacheStreams.cs
- CryptoKeySecurity.cs
- RotateTransform.cs
- SimpleTextLine.cs
- EventEntry.cs
- ToolStripDesigner.cs
- XMLUtil.cs
- BindingMAnagerBase.cs
- ConstrainedGroup.cs
- EncoderFallback.cs
- CompiledQuery.cs
- WindowsImpersonationContext.cs
- VisualCollection.cs
- counter.cs
- SQLSingle.cs
- ToolStripSplitButton.cs
- _CookieModule.cs
- Utils.cs
- SaveFileDialog.cs
- WSSecurityOneDotOneSendSecurityHeader.cs
- BrushValueSerializer.cs
- TransportManager.cs
- HtmlInputButton.cs
- UpdatePanelControlTrigger.cs
- FixedPosition.cs
- MissingMethodException.cs
- XmlText.cs
- EpmSyndicationContentDeSerializer.cs
- EncodingTable.cs
- DBParameter.cs
- ThreadAbortException.cs
- OleDbParameterCollection.cs
- AssertFilter.cs
- Compress.cs
- LZCodec.cs
- FilteredXmlReader.cs
- ProfilePropertyMetadata.cs
- BaseUriHelper.cs
- RoutedEvent.cs
- SmiEventSink_DeferedProcessing.cs
- ProgressBarRenderer.cs
- DiagnosticsConfigurationHandler.cs
- DBAsyncResult.cs