Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Description / MessageBodyDescription.cs / 1 / MessageBodyDescription.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- using System; using System.ServiceModel.Channels; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; namespace System.ServiceModel.Description { public class MessageBodyDescription { private XmlName wrapperName; private string wrapperNs; private MessagePartDescriptionCollection parts; private MessagePartDescription returnValue; public MessageBodyDescription() { parts = new MessagePartDescriptionCollection(); } internal MessageBodyDescription(MessageBodyDescription other) { this.WrapperName = other.WrapperName; this.WrapperNamespace = other.WrapperNamespace; this.parts = new MessagePartDescriptionCollection(); foreach (MessagePartDescription mpd in other.Parts) { this.Parts.Add(mpd.Clone()); } if (other.ReturnValue != null) { this.ReturnValue = other.ReturnValue.Clone(); } } internal MessageBodyDescription Clone() { return new MessageBodyDescription(this); } public MessagePartDescriptionCollection Parts { get { return parts; } } public MessagePartDescription ReturnValue { get { return returnValue; } set { returnValue = value; } } public string WrapperName { get { return wrapperName == null ? null : wrapperName.EncodedName; } set { wrapperName = new XmlName(value, true /*isEncoded*/); } } public string WrapperNamespace { get { return wrapperNs; } set { wrapperNs = 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
- OleStrCAMarshaler.cs
- RangeBaseAutomationPeer.cs
- GetImportFileNameRequest.cs
- CodeObjectCreateExpression.cs
- StoreContentChangedEventArgs.cs
- Odbc32.cs
- ConfigurationStrings.cs
- DashStyle.cs
- VirtualPathProvider.cs
- StackSpiller.Temps.cs
- BitmapImage.cs
- ActivationServices.cs
- SiteMapDataSource.cs
- SignedPkcs7.cs
- MainMenu.cs
- SQLInt64Storage.cs
- Ref.cs
- UserNameSecurityTokenProvider.cs
- RegexRunnerFactory.cs
- DeclaredTypeElementCollection.cs
- SiteMapPath.cs
- FamilyMap.cs
- Deserializer.cs
- BooleanExpr.cs
- SelectionListDesigner.cs
- ExportException.cs
- _emptywebproxy.cs
- FormCollection.cs
- QueryExpr.cs
- CustomValidator.cs
- SpellerInterop.cs
- CollectionChangeEventArgs.cs
- ApplicationSecurityManager.cs
- ReadOnlyMetadataCollection.cs
- DbQueryCommandTree.cs
- IgnoreDataMemberAttribute.cs
- ProxyManager.cs
- __TransparentProxy.cs
- UtilityExtension.cs
- ConfigPathUtility.cs
- Item.cs
- ContextMarshalException.cs
- ClientSettingsSection.cs
- XmlSchemaChoice.cs
- PaperSize.cs
- linebase.cs
- SplayTreeNode.cs
- ErrorEventArgs.cs
- LineProperties.cs
- SafeCryptHandles.cs
- TabItemWrapperAutomationPeer.cs
- ComponentChangedEvent.cs
- SchemaInfo.cs
- ParentQuery.cs
- SiteMapProvider.cs
- XamlVector3DCollectionSerializer.cs
- ComplusEndpointConfigContainer.cs
- PropertyToken.cs
- EntityDataSourceStatementEditorForm.cs
- ProjectionCamera.cs
- KeyboardDevice.cs
- ErrorHandler.cs
- SizeIndependentAnimationStorage.cs
- FormViewUpdateEventArgs.cs
- LabelLiteral.cs
- SectionInput.cs
- MimeMapping.cs
- AppDomainFactory.cs
- XmlSerializationReader.cs
- NetworkInformationPermission.cs
- BrowserDefinitionCollection.cs
- DataGrid.cs
- QueryMath.cs
- AuditLog.cs
- SimpleType.cs
- ScaleTransform3D.cs
- BamlCollectionHolder.cs
- PixelFormats.cs
- GridViewColumn.cs
- FixedPageStructure.cs
- TreeNodeStyle.cs
- Token.cs
- HotSpot.cs
- WebPartActionVerb.cs
- SeekStoryboard.cs
- LineVisual.cs
- AuthenticatedStream.cs
- LiteralTextParser.cs
- TraceRecord.cs
- XmlMemberMapping.cs
- SchemaDeclBase.cs
- BinaryCommonClasses.cs
- DataViewListener.cs
- SqlNodeAnnotation.cs
- FrameSecurityDescriptor.cs
- TransportSecurityHelpers.cs
- XmlSchemaAny.cs
- ListViewGroup.cs
- CodeDOMProvider.cs
- ResourceManager.cs