Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Channels / DelegatingMessage.cs / 1 / DelegatingMessage.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Channels { using System.Xml; using System.ServiceModel.Channels; abstract class DelegatingMessage : Message { Message innerMessage; protected DelegatingMessage(Message innerMessage) { if (innerMessage == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("innerMessage"); } this.innerMessage = innerMessage; } public override bool IsEmpty { get { return this.innerMessage.IsEmpty; } } public override bool IsFault { get { return this.innerMessage.IsFault; } } public override MessageHeaders Headers { get { return this.innerMessage.Headers; } } public override MessageProperties Properties { get { return this.innerMessage.Properties; } } public override MessageVersion Version { get { return this.innerMessage.Version; } } protected Message InnerMessage { get { return this.innerMessage; } } protected override void OnClose() { base.OnClose(); this.innerMessage.Close(); } protected override void OnWriteStartEnvelope(XmlDictionaryWriter writer) { this.innerMessage.WriteStartEnvelope(writer); } protected override void OnWriteStartHeaders(XmlDictionaryWriter writer) { this.innerMessage.WriteStartHeaders(writer); } protected override void OnWriteStartBody(XmlDictionaryWriter writer) { this.innerMessage.WriteStartBody(writer); } protected override void OnWriteBodyContents(XmlDictionaryWriter writer) { this.innerMessage.WriteBodyContents(writer); } protected override string OnGetBodyAttribute(string localName, string ns) { return this.innerMessage.GetBodyAttribute(localName, ns); } protected override void OnBodyToString(XmlDictionaryWriter writer) { this.innerMessage.BodyToString(writer); } } } // 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
- ImageField.cs
- SurrogateEncoder.cs
- TypeSchema.cs
- DefaultTraceListener.cs
- TimeSpanMinutesOrInfiniteConverter.cs
- TextShapeableCharacters.cs
- RenderCapability.cs
- StrongTypingException.cs
- CqlParser.cs
- securestring.cs
- DecoratedNameAttribute.cs
- DataGridHeaderBorder.cs
- TraceSection.cs
- ObjectTag.cs
- KeyGestureConverter.cs
- Renderer.cs
- ToolbarAUtomationPeer.cs
- EffectiveValueEntry.cs
- StringFunctions.cs
- DesignerActionHeaderItem.cs
- DateBoldEvent.cs
- BlurEffect.cs
- LocatorPart.cs
- ThumbAutomationPeer.cs
- ConfigurationStrings.cs
- SHA384Managed.cs
- XPathEmptyIterator.cs
- TransformGroup.cs
- EventHandlerList.cs
- AtomPub10ServiceDocumentFormatter.cs
- WorkflowInstanceAbortedRecord.cs
- ValidationResult.cs
- ConfigXmlReader.cs
- CuspData.cs
- LastQueryOperator.cs
- DataTableCollection.cs
- TextAction.cs
- _TLSstream.cs
- HandleCollector.cs
- arabicshape.cs
- SQLGuidStorage.cs
- EqualityArray.cs
- TreeViewImageKeyConverter.cs
- MouseActionConverter.cs
- ScrollChangedEventArgs.cs
- Transform.cs
- SrgsNameValueTag.cs
- arc.cs
- shaper.cs
- HttpPostedFile.cs
- ButtonChrome.cs
- CqlParserHelpers.cs
- EncoderReplacementFallback.cs
- StringWriter.cs
- CreateUserWizardStep.cs
- AlgoModule.cs
- LoadRetryStrategyFactory.cs
- DataGridViewCellCollection.cs
- AttachedPropertyMethodSelector.cs
- EntityDataSourceDataSelectionPanel.cs
- SafeNativeMethods.cs
- WebHttpSecurityModeHelper.cs
- BinHexEncoder.cs
- SrgsRule.cs
- CacheAxisQuery.cs
- Context.cs
- DataGridViewRowPostPaintEventArgs.cs
- ByValueEqualityComparer.cs
- CodeMemberMethod.cs
- PointF.cs
- TableSectionStyle.cs
- DefaultSerializationProviderAttribute.cs
- TraceSection.cs
- Material.cs
- PersonalizationStateQuery.cs
- StringFreezingAttribute.cs
- GridViewColumn.cs
- RequestQueue.cs
- BasicExpandProvider.cs
- BodyGlyph.cs
- ChunkedMemoryStream.cs
- ObjectResult.cs
- KeyTime.cs
- SiteMapDataSourceView.cs
- MULTI_QI.cs
- TimeSpanSecondsOrInfiniteConverter.cs
- DocComment.cs
- ArraySortHelper.cs
- MonitoringDescriptionAttribute.cs
- RequestTimeoutManager.cs
- AssociatedControlConverter.cs
- PeerMessageDispatcher.cs
- StringValidatorAttribute.cs
- TemplatedControlDesigner.cs
- PersistenceTypeAttribute.cs
- SectionUpdates.cs
- DomainUpDown.cs
- XmlArrayAttribute.cs
- PriorityBinding.cs
- ListGeneralPage.cs