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
- PathGradientBrush.cs
- XamlPathDataSerializer.cs
- XmlUtf8RawTextWriter.cs
- SystemNetHelpers.cs
- ScriptHandlerFactory.cs
- BamlTreeMap.cs
- ToolStripPanelRow.cs
- DbDataReader.cs
- Token.cs
- ViewValidator.cs
- ToolstripProfessionalRenderer.cs
- HtmlLiteralTextAdapter.cs
- SerialErrors.cs
- MethodBody.cs
- RuntimeTrackingProfile.cs
- LabelExpression.cs
- X509CertificateValidator.cs
- PlatformNotSupportedException.cs
- DataServiceEntityAttribute.cs
- ContentPlaceHolder.cs
- InfoCardTrace.cs
- ListItemsPage.cs
- PackageDigitalSignature.cs
- NativeConfigurationLoader.cs
- DataGridAutoFormat.cs
- WebUtility.cs
- _Connection.cs
- InputBuffer.cs
- OptimizedTemplateContent.cs
- WebPartsPersonalizationAuthorization.cs
- OdbcConnectionString.cs
- WebScriptEnablingBehavior.cs
- TableLayoutPanelCellPosition.cs
- MsmqInputSessionChannel.cs
- HealthMonitoringSectionHelper.cs
- XmlNodeReader.cs
- WrappedReader.cs
- CatalogZone.cs
- Odbc32.cs
- TileModeValidation.cs
- IntegerFacetDescriptionElement.cs
- ExceptQueryOperator.cs
- XmlWriterSettings.cs
- XsdBuilder.cs
- EventTask.cs
- BitmapImage.cs
- ContentType.cs
- PageParserFilter.cs
- MarkupCompilePass2.cs
- EdmMember.cs
- PolicyUtility.cs
- WSSecureConversationFeb2005.cs
- RayHitTestParameters.cs
- RemoteWebConfigurationHost.cs
- ListViewTableRow.cs
- PolyQuadraticBezierSegment.cs
- EditBehavior.cs
- MailDefinition.cs
- ProxyGenerator.cs
- ResourceManager.cs
- DbConnectionOptions.cs
- FilteredReadOnlyMetadataCollection.cs
- NativeCompoundFileAPIs.cs
- NameTable.cs
- AbsoluteQuery.cs
- TableLayoutColumnStyleCollection.cs
- RadioButtonAutomationPeer.cs
- StringValidatorAttribute.cs
- XmlSchemaElement.cs
- DoubleConverter.cs
- WorkflowItemsPresenter.cs
- NTAccount.cs
- OptimalTextSource.cs
- RawMouseInputReport.cs
- CodeTypeDelegate.cs
- BatchParser.cs
- CaseInsensitiveHashCodeProvider.cs
- Int32RectValueSerializer.cs
- StandardCommands.cs
- XPathDocument.cs
- ConstructorNeedsTagAttribute.cs
- PaintEvent.cs
- Screen.cs
- ArgumentDesigner.xaml.cs
- WebServiceMethodData.cs
- DetailsViewRow.cs
- WriteTimeStream.cs
- MenuItemStyle.cs
- CheckBoxPopupAdapter.cs
- RSAPKCS1SignatureFormatter.cs
- dbenumerator.cs
- CodeIterationStatement.cs
- SyndicationSerializer.cs
- ListViewDesigner.cs
- ChildrenQuery.cs
- HMACMD5.cs
- ImageListStreamer.cs
- DataGridViewRowHeightInfoNeededEventArgs.cs
- CodePageUtils.cs
- ConfigurationConverterBase.cs