Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Description / MessageHeaderDescription.cs / 1 / MessageHeaderDescription.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Description { using System; using System.ServiceModel.Channels; using System.ServiceModel; using System.Xml; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; public class MessageHeaderDescription : MessagePartDescription { bool mustUnderstand; bool relay; string actor; bool typedHeader; bool isUnknownHeader; public MessageHeaderDescription(string name, string ns) : base(name, ns) { } internal MessageHeaderDescription(MessageHeaderDescription other) : base(other) { this.MustUnderstand = other.MustUnderstand; this.Relay = other.Relay; this.Actor = other.Actor; this.TypedHeader = other.TypedHeader; this.IsUnknownHeaderCollection = other.IsUnknownHeaderCollection; } internal override MessagePartDescription Clone() { return new MessageHeaderDescription(this); } public string Actor { get { return this.actor; } set { this.actor = value; } } public bool MustUnderstand { get { return this.mustUnderstand; } set { this.mustUnderstand = value; } } public bool Relay { get { return this.relay; } set { this.relay = value; } } public bool TypedHeader { get { return this.typedHeader; } set { this.typedHeader = value; } } internal bool IsUnknownHeaderCollection { get { return isUnknownHeader || Multiple && (Type == typeof(XmlElement)); } set { isUnknownHeader = 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
- SettingsAttributeDictionary.cs
- SqlUtil.cs
- WebPartTransformerCollection.cs
- ValueHandle.cs
- InfoCardRSAPKCS1KeyExchangeDeformatter.cs
- ClientScriptManager.cs
- DrawingState.cs
- BitmapEffectInput.cs
- XmlBinaryReader.cs
- ShaperBuffers.cs
- EntityTypeBase.cs
- ImportDesigner.xaml.cs
- MDIWindowDialog.cs
- elementinformation.cs
- LogicalMethodInfo.cs
- Mapping.cs
- ConfigurationStrings.cs
- DrawingGroupDrawingContext.cs
- DbMetaDataFactory.cs
- X509ChainPolicy.cs
- SubclassTypeValidator.cs
- ProgressBarBrushConverter.cs
- JsonServiceDocumentSerializer.cs
- EncodingDataItem.cs
- CorrelationManager.cs
- safelinkcollection.cs
- TextProviderWrapper.cs
- LocalizationComments.cs
- ItemPager.cs
- Utility.cs
- FixedDocumentPaginator.cs
- TripleDES.cs
- GridViewHeaderRowPresenter.cs
- DesignerLoader.cs
- ControlFilterExpression.cs
- SizeConverter.cs
- PaintEvent.cs
- TraceEventCache.cs
- MimeBasePart.cs
- ClientBuildManager.cs
- DBDataPermissionAttribute.cs
- TableCellsCollectionEditor.cs
- WebPartDescriptionCollection.cs
- MultiPropertyDescriptorGridEntry.cs
- AmbiguousMatchException.cs
- NotifyInputEventArgs.cs
- TagMapInfo.cs
- ValidatedControlConverter.cs
- TableHeaderCell.cs
- DataColumnCollection.cs
- BooleanExpr.cs
- coordinatorscratchpad.cs
- PrintPageEvent.cs
- AutoResizedEvent.cs
- TemplateBuilder.cs
- SurrogateSelector.cs
- ProfileBuildProvider.cs
- WebBrowser.cs
- DataGridViewButtonCell.cs
- PrintingPermissionAttribute.cs
- CompositeTypefaceMetrics.cs
- CompilationLock.cs
- ThrowHelper.cs
- ArrangedElement.cs
- KeyboardDevice.cs
- HMACSHA512.cs
- ProgressPage.cs
- XmlDataImplementation.cs
- SoapHeaderAttribute.cs
- DataGridTableStyleMappingNameEditor.cs
- CaseInsensitiveHashCodeProvider.cs
- AccessDataSourceView.cs
- SequentialActivityDesigner.cs
- SQLSingleStorage.cs
- EntityObject.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- HiddenFieldPageStatePersister.cs
- WebBrowserBase.cs
- SessionSwitchEventArgs.cs
- ImageListImage.cs
- ChoiceConverter.cs
- WebReferencesBuildProvider.cs
- BufferBuilder.cs
- CodeEntryPointMethod.cs
- EdgeProfileValidation.cs
- FromRequest.cs
- GridViewCellAutomationPeer.cs
- ContextMarshalException.cs
- MetadataItemEmitter.cs
- ViewStateModeByIdAttribute.cs
- _CacheStreams.cs
- SortDescription.cs
- ToolStripComboBox.cs
- PointHitTestResult.cs
- DashStyle.cs
- TransformProviderWrapper.cs
- FastEncoder.cs
- WSFederationHttpSecurity.cs
- FieldTemplateFactory.cs
- RadioButtonFlatAdapter.cs