Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / PeerResolvers / ResolveResponseInfo.cs / 1 / ResolveResponseInfo.cs
//------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//-----------------------------------------------------------
namespace System.ServiceModel.PeerResolvers
{
using System.Collections.Generic;
using System.ServiceModel.Channels;
using System.ServiceModel;
using System.Runtime.Serialization;
[MessageContract(IsWrapped = false)]
public class ResolveResponseInfo
{
[DataContract(Name = "ResolveResponseInfo", Namespace = PeerStrings.Namespace)]
class ResolveResponseInfoDC
{
[DataMember(Name = "Addresses")]
public IList Addresses;
public ResolveResponseInfoDC(PeerNodeAddress[] addresses)
{
this.Addresses = (IList)addresses;
}
}
public ResolveResponseInfo():this(null){}
public ResolveResponseInfo(PeerNodeAddress[] addresses)
{
this.body = new ResolveResponseInfoDC(addresses);
}
public IList Addresses
{
get { return body.Addresses; }
set { this.body.Addresses = value; }
}
[MessageBodyMember(Name = "ResolveResponse", Namespace = PeerStrings.Namespace)]
ResolveResponseInfoDC body;
public bool HasBody()
{
return body != null;
}
}
}
// 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
- XmlSchemaExporter.cs
- InputProcessorProfilesLoader.cs
- HostingEnvironment.cs
- SqlParameterCollection.cs
- XPathParser.cs
- HideDisabledControlAdapter.cs
- WsatEtwTraceListener.cs
- RoleManagerModule.cs
- FreezableCollection.cs
- MessageHeaderException.cs
- DataGridViewImageCell.cs
- SettingsPropertyValueCollection.cs
- COM2PropertyBuilderUITypeEditor.cs
- SystemIPInterfaceStatistics.cs
- PlatformCulture.cs
- ListItemCollection.cs
- DataGridViewRowHeaderCell.cs
- NativeMsmqMessage.cs
- BrushValueSerializer.cs
- ViewGenResults.cs
- CompressStream.cs
- ClientSettingsProvider.cs
- SuppressMergeCheckAttribute.cs
- TiffBitmapEncoder.cs
- Int32RectValueSerializer.cs
- BulletedListEventArgs.cs
- DataGridViewCellLinkedList.cs
- LoadGrammarCompletedEventArgs.cs
- cookiecollection.cs
- TransactionOptions.cs
- ImplicitInputBrush.cs
- SignatureToken.cs
- EntityTemplateFactory.cs
- FocusWithinProperty.cs
- _AutoWebProxyScriptHelper.cs
- SectionRecord.cs
- RadioButtonStandardAdapter.cs
- DataViewSettingCollection.cs
- ArithmeticException.cs
- SafeThreadHandle.cs
- QilPatternFactory.cs
- TransactionScope.cs
- CreateParams.cs
- HttpResponseMessageProperty.cs
- MetaColumn.cs
- BinaryCommonClasses.cs
- CompressEmulationStream.cs
- UnauthorizedWebPart.cs
- TabItem.cs
- WindowsToolbar.cs
- CreateParams.cs
- BoundingRectTracker.cs
- UnsafeNativeMethods.cs
- DomainConstraint.cs
- DbProviderFactory.cs
- SingleResultAttribute.cs
- DesignerLabelAdapter.cs
- Visitor.cs
- FilterEventArgs.cs
- SessionParameter.cs
- UserPreferenceChangedEventArgs.cs
- SqlUDTStorage.cs
- Variable.cs
- HtmlToClrEventProxy.cs
- ContainerParaClient.cs
- PerspectiveCamera.cs
- SingleAnimationUsingKeyFrames.cs
- XslTransform.cs
- AspCompat.cs
- HttpBrowserCapabilitiesWrapper.cs
- Timer.cs
- DataGridViewCellParsingEventArgs.cs
- EasingKeyFrames.cs
- EntityDataSourceWizardForm.cs
- OleDbWrapper.cs
- MobileListItemCollection.cs
- XmlWrappingReader.cs
- DelayDesigner.cs
- HopperCache.cs
- BatchWriter.cs
- Quad.cs
- ToolBarButton.cs
- HtmlTernaryTree.cs
- LinkButton.cs
- WebPartCatalogCloseVerb.cs
- XmlUnspecifiedAttribute.cs
- RadioButtonList.cs
- PairComparer.cs
- PrivilegeNotHeldException.cs
- HtmlShimManager.cs
- MaskedTextBoxDesigner.cs
- TextPointer.cs
- WebSysDefaultValueAttribute.cs
- Activator.cs
- DataGridViewCellFormattingEventArgs.cs
- ConstraintStruct.cs
- JobCollate.cs
- SafeHandles.cs
- NativeRightsManagementAPIsStructures.cs
- ControlParser.cs