Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / NetFx40 / System.ServiceModel.Discovery / System / ServiceModel / Discovery / UdpTransportSettings.cs / 1305376 / UdpTransportSettings.cs
//----------------------------------------------------------------
// Copyright (c) Microsoft Corporation. All rights reserved.
//---------------------------------------------------------------
namespace System.ServiceModel.Discovery
{
using System.Runtime;
using System.ServiceModel.Channels;
using System.Diagnostics.CodeAnalysis;
[Fx.Tag.XamlVisible(false)]
public class UdpTransportSettings
{
internal UdpTransportSettings(UdpTransportBindingElement udpTransportBindingElement)
{
this.UdpTransportBindingElement = udpTransportBindingElement;
}
public int DuplicateMessageHistoryLength
{
get
{
return this.UdpTransportBindingElement.DuplicateMessageHistoryLength;
}
set
{
this.UdpTransportBindingElement.DuplicateMessageHistoryLength = value;
}
}
public int MaxPendingMessageCount
{
get
{
return this.UdpTransportBindingElement.MaxPendingMessageCount;
}
set
{
this.UdpTransportBindingElement.MaxPendingMessageCount = value;
}
}
public int MaxMulticastRetransmitCount
{
get
{
return this.UdpTransportBindingElement.RetransmissionSettings.MaxMulticastRetransmitCount;
}
set
{
this.UdpTransportBindingElement.RetransmissionSettings.MaxMulticastRetransmitCount = value;
}
}
[SuppressMessage(FxCop.Category.Naming, FxCop.Rule.IdentifiersShouldBeSpelledCorrectly, Justification = "Unicast is a valid name.")]
public int MaxUnicastRetransmitCount
{
get
{
return this.UdpTransportBindingElement.RetransmissionSettings.MaxUnicastRetransmitCount;
}
set
{
this.UdpTransportBindingElement.RetransmissionSettings.MaxUnicastRetransmitCount = value;
}
}
public string MulticastInterfaceId
{
get
{
return this.UdpTransportBindingElement.MulticastInterfaceId;
}
set
{
this.UdpTransportBindingElement.MulticastInterfaceId = value;
}
}
public int SocketReceiveBufferSize
{
get
{
return this.UdpTransportBindingElement.SocketReceiveBufferSize;
}
set
{
this.UdpTransportBindingElement.SocketReceiveBufferSize = value;
}
}
public long MaxReceivedMessageSize
{
get
{
return this.UdpTransportBindingElement.MaxReceivedMessageSize;
}
set
{
this.UdpTransportBindingElement.MaxReceivedMessageSize = value;
}
}
public long MaxBufferPoolSize
{
get
{
return this.UdpTransportBindingElement.MaxBufferPoolSize;
}
set
{
this.UdpTransportBindingElement.MaxBufferPoolSize = value;
}
}
public int TimeToLive
{
get
{
return this.UdpTransportBindingElement.TimeToLive;
}
set
{
this.UdpTransportBindingElement.TimeToLive = value;
}
}
internal UdpTransportBindingElement UdpTransportBindingElement
{
get;
private set;
}
}
}
// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- OleDbFactory.cs
- BoundsDrawingContextWalker.cs
- ButtonFieldBase.cs
- ChannelPoolSettingsElement.cs
- processwaithandle.cs
- HyperLinkField.cs
- WorkflowServiceInstance.cs
- Condition.cs
- LayoutTableCell.cs
- RankException.cs
- SymbolMethod.cs
- HtmlWindowCollection.cs
- clipboard.cs
- CssClassPropertyAttribute.cs
- ProfileGroupSettingsCollection.cs
- PropertyDescriptor.cs
- ContentPosition.cs
- TextAction.cs
- ByteConverter.cs
- MenuItem.cs
- DesignUtil.cs
- XamlVector3DCollectionSerializer.cs
- Conditional.cs
- ConnectionPoint.cs
- SchemaDeclBase.cs
- FolderBrowserDialogDesigner.cs
- SharedPersonalizationStateInfo.cs
- ConfigXmlText.cs
- FixedSOMLineRanges.cs
- CompiledRegexRunner.cs
- XappLauncher.cs
- ConnectionPoint.cs
- TableLayoutCellPaintEventArgs.cs
- Vector3DCollection.cs
- UnauthorizedWebPart.cs
- NumericUpDownAccelerationCollection.cs
- ProjectionCamera.cs
- HtmlButton.cs
- WindowsImpersonationContext.cs
- XPathNodeInfoAtom.cs
- RenderingBiasValidation.cs
- Geometry.cs
- UnhandledExceptionEventArgs.cs
- TypeBuilder.cs
- TableItemStyle.cs
- ReadOnlyDictionary.cs
- UnsafeNativeMethods.cs
- FileCodeGroup.cs
- ScriptResourceHandler.cs
- URL.cs
- UpdateCompiler.cs
- ArraySubsetEnumerator.cs
- StorageInfo.cs
- CachedTypeface.cs
- NumericUpDownAcceleration.cs
- PackageRelationshipSelector.cs
- PaperSource.cs
- PopOutPanel.cs
- SecurityTokenRequirement.cs
- Pkcs7Recipient.cs
- xml.cs
- SetMemberBinder.cs
- QuaternionConverter.cs
- MetadataException.cs
- BaseComponentEditor.cs
- HMACSHA256.cs
- DataGridViewColumnCollection.cs
- HuffModule.cs
- Int32Animation.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- URI.cs
- OledbConnectionStringbuilder.cs
- Decoder.cs
- RadioButton.cs
- MD5.cs
- ParseElement.cs
- RequestQueue.cs
- FontStyle.cs
- Reference.cs
- WebPartConnectionsConnectVerb.cs
- AdornerLayer.cs
- SSmlParser.cs
- SplitContainer.cs
- Image.cs
- XmlRawWriterWrapper.cs
- FontEmbeddingManager.cs
- SystemNetHelpers.cs
- NameHandler.cs
- TreeView.cs
- ReaderContextStackData.cs
- ItemsPresenter.cs
- GroupBoxRenderer.cs
- SqlConnectionFactory.cs
- PersonalizationProviderHelper.cs
- Mappings.cs
- FloaterParagraph.cs
- Point3D.cs
- OptimalBreakSession.cs
- BamlResourceDeserializer.cs
- JournalNavigationScope.cs