Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / MsmqIntegration / MsmqMessage.cs / 1 / MsmqMessage.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.MsmqIntegration { using System.Messaging; using System.ServiceModel; using System.ServiceModel.Channels; [MessageContract(IsWrapped = false)] public sealed class MsmqMessage{ [MessageProperty(Name = MsmqIntegrationMessageProperty.Name)] MsmqIntegrationMessageProperty property; public MsmqMessage(T body) { if (body == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("body"); this.property = new MsmqIntegrationMessageProperty(); this.property.Body = body; } internal MsmqMessage() {} public T Body { get { return (T)this.property.Body; } set { if (value == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("value"); this.property.Body = value; } } public AcknowledgeTypes? AcknowledgeType { get { return this.property.AcknowledgeType; } set { this.property.AcknowledgeType = value; } } public Acknowledgment? Acknowledgment { get { return this.property.Acknowledgment; } } public Uri AdministrationQueue { get { return this.property.AdministrationQueue; } set { this.property.AdministrationQueue = value; } } public int? AppSpecific { get { return this.property.AppSpecific; } set { this.property.AppSpecific = value; } } public DateTime? ArrivedTime { get { return this.property.ArrivedTime; } } public bool? Authenticated { get { return this.property.Authenticated; } } public int? BodyType { get { return this.property.BodyType; } set { this.property.BodyType = value; } } public string CorrelationId { get { return this.property.CorrelationId; } set { this.property.CorrelationId = value; } } public Uri DestinationQueue { get { return this.property.DestinationQueue; } } public byte[] Extension { get { return this.property.Extension; } set { this.property.Extension = value; } } public string Id { get { return this.property.Id; } } public string Label { get { return this.property.Label; } set { this.property.Label = value; } } public MessageType? MessageType { get { return this.property.MessageType; } } public MessagePriority? Priority { get { return this.property.Priority; } set { this.property.Priority = value; } } public Uri ResponseQueue { get { return this.property.ResponseQueue; } set { this.property.ResponseQueue = value; } } public byte[] SenderId { get { return this.property.SenderId; } } public DateTime? SentTime { get { return this.property.SentTime; } } public TimeSpan? TimeToReachQueue { get { return this.property.TimeToReachQueue; } set { this.property.TimeToReachQueue = value; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CorrelationActionMessageFilter.cs
- DataGridTable.cs
- MaskedTextBoxTextEditorDropDown.cs
- BaseCollection.cs
- Color.cs
- CodeTypeDeclaration.cs
- BindingMemberInfo.cs
- brushes.cs
- Visual.cs
- DesignObjectWrapper.cs
- StaticTextPointer.cs
- ZipIOCentralDirectoryDigitalSignature.cs
- XmlQueryTypeFactory.cs
- TypeBinaryExpression.cs
- MobileControlsSectionHelper.cs
- LinqDataSourceDeleteEventArgs.cs
- StaticExtension.cs
- PointLight.cs
- FontDialog.cs
- PartialCachingControl.cs
- ManipulationVelocities.cs
- CachedFontFace.cs
- EventDriven.cs
- CodeIdentifier.cs
- Separator.cs
- InstanceDataCollectionCollection.cs
- SafeNativeMethods.cs
- DomainUpDown.cs
- DataSourceDesigner.cs
- GraphicsPath.cs
- PtsHost.cs
- Set.cs
- SqlAliasesReferenced.cs
- MultipartContentParser.cs
- WebMessageEncoderFactory.cs
- Drawing.cs
- GenerateTemporaryTargetAssembly.cs
- ExcCanonicalXml.cs
- MouseGesture.cs
- SemanticAnalyzer.cs
- PackWebRequestFactory.cs
- BufferBuilder.cs
- TextEditorCopyPaste.cs
- SynchronizationContext.cs
- DbConnectionPoolOptions.cs
- HintTextConverter.cs
- ProtocolImporter.cs
- CodeIndexerExpression.cs
- ExtenderHelpers.cs
- PageThemeCodeDomTreeGenerator.cs
- EventSourceCreationData.cs
- DefaultProfileManager.cs
- ToolStripItemGlyph.cs
- sqlstateclientmanager.cs
- DomainLiteralReader.cs
- CultureTableRecord.cs
- GenericEnumConverter.cs
- DynamicDocumentPaginator.cs
- TogglePattern.cs
- CharAnimationBase.cs
- MobileRedirect.cs
- RegexRunnerFactory.cs
- CompiledQueryCacheEntry.cs
- Win32SafeHandles.cs
- WasAdminWrapper.cs
- ResourceContainerWrapper.cs
- XmlTextEncoder.cs
- CheckBoxList.cs
- Sentence.cs
- EntryPointNotFoundException.cs
- Label.cs
- DataGridViewCellCollection.cs
- WindowsImpersonationContext.cs
- ObjectAssociationEndMapping.cs
- StagingAreaInputItem.cs
- SqlDataSourceStatusEventArgs.cs
- ToolStripScrollButton.cs
- httpserverutility.cs
- ModelTreeEnumerator.cs
- ConnectionStringSettingsCollection.cs
- BamlRecordWriter.cs
- ZipIOBlockManager.cs
- URL.cs
- CheckableControlBaseAdapter.cs
- DesigntimeLicenseContext.cs
- GridErrorDlg.cs
- GACMembershipCondition.cs
- ActivationWorker.cs
- translator.cs
- IdentityManager.cs
- EntityStoreSchemaGenerator.cs
- RepeatButton.cs
- CodeDomDecompiler.cs
- PersonalizationState.cs
- SelectedGridItemChangedEvent.cs
- NavigationFailedEventArgs.cs
- LayoutEditorPart.cs
- TakeOrSkipWhileQueryOperator.cs
- Win32PrintDialog.cs
- xdrvalidator.cs