Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / DelegatingHeader.cs / 1 / DelegatingHeader.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Security { using System.Xml; using System.ServiceModel.Channels; using System.ServiceModel; abstract class DelegatingHeader : MessageHeader { MessageHeader innerHeader; protected DelegatingHeader(MessageHeader innerHeader) { if (innerHeader == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("innerHeader"); } this.innerHeader = innerHeader; } public override bool MustUnderstand { get { return this.innerHeader.MustUnderstand; } } public override string Name { get { return this.innerHeader.Name; } } public override string Namespace { get { return this.innerHeader.Namespace; } } public override bool Relay { get { return this.innerHeader.Relay; } } public override string Actor { get { return this.innerHeader.Actor; } } protected MessageHeader InnerHeader { get { return this.innerHeader; } } protected override void OnWriteStartHeader(XmlDictionaryWriter writer, MessageVersion messageVersion) { this.innerHeader.WriteStartHeader(writer, messageVersion); } protected override void OnWriteHeaderContents(XmlDictionaryWriter writer, MessageVersion messageVersion) { this.innerHeader.WriteHeaderContents(writer, messageVersion); } } } // 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
- VirtualDirectoryMappingCollection.cs
- TextDecorations.cs
- GeneratedCodeAttribute.cs
- TargetPerspective.cs
- HitTestResult.cs
- DataBoundLiteralControl.cs
- ClrPerspective.cs
- SchemaRegistration.cs
- XmlSchemaRedefine.cs
- StoreAnnotationsMap.cs
- WsatAdminException.cs
- DiscoveryUtility.cs
- Matrix3DConverter.cs
- ObjectKeyFrameCollection.cs
- StrongTypingException.cs
- TopClause.cs
- RemotingSurrogateSelector.cs
- FontConverter.cs
- DataSourceBooleanViewSchemaConverter.cs
- UpWmlMobileTextWriter.cs
- HttpResponseWrapper.cs
- Wildcard.cs
- FileDialog_Vista.cs
- X509KeyIdentifierClauseType.cs
- EventToken.cs
- ToolboxItemAttribute.cs
- System.Data.OracleClient_BID.cs
- OutputScope.cs
- BamlResourceSerializer.cs
- elementinformation.cs
- SimpleTableProvider.cs
- RSAOAEPKeyExchangeFormatter.cs
- _FtpControlStream.cs
- BinaryFormatter.cs
- TextElementEnumerator.cs
- Pair.cs
- FormViewPagerRow.cs
- _SingleItemRequestCache.cs
- TableCell.cs
- TabControlCancelEvent.cs
- VarInfo.cs
- PolicyException.cs
- EmptyElement.cs
- InvalidComObjectException.cs
- TaskScheduler.cs
- PolicyImporterElement.cs
- ListBoxChrome.cs
- Control.cs
- HttpListenerResponse.cs
- AssemblyUtil.cs
- WinInetCache.cs
- WebPartDisplayMode.cs
- HttpFileCollection.cs
- DataServicePagingProviderWrapper.cs
- Dump.cs
- TreeNodeStyle.cs
- PropertyGeneratedEventArgs.cs
- GridViewColumn.cs
- Site.cs
- TemplateControlParser.cs
- LockRecursionException.cs
- FileDialog.cs
- VBCodeProvider.cs
- MissingFieldException.cs
- HealthMonitoringSectionHelper.cs
- TreeNodeCollection.cs
- FormatControl.cs
- Identifier.cs
- ErrorHandler.cs
- RequestCachingSection.cs
- PrintEvent.cs
- CompilerCollection.cs
- ToolboxService.cs
- SoapAttributes.cs
- OLEDB_Util.cs
- TypeConverterHelper.cs
- TypeFieldSchema.cs
- TreeNodeBindingDepthConverter.cs
- IPPacketInformation.cs
- InstancePersistenceCommandException.cs
- MemberHolder.cs
- ControlCachePolicy.cs
- PropertyMapper.cs
- XmlSchemaObject.cs
- ChildTable.cs
- Vector3dCollection.cs
- ComboBoxAutomationPeer.cs
- ResourceCategoryAttribute.cs
- CompiledRegexRunnerFactory.cs
- CreationContext.cs
- SetStateDesigner.cs
- ExtendedPropertyDescriptor.cs
- HttpCachePolicyElement.cs
- X509ThumbprintKeyIdentifierClause.cs
- UnsafeNativeMethods.cs
- Math.cs
- HtmlGenericControl.cs
- DesignerVerb.cs
- TimeSpanMinutesConverter.cs
- TextBox.cs