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
- PathBox.cs
- DataControlFieldCollection.cs
- ArgIterator.cs
- FixedSOMPageElement.cs
- CurrencyWrapper.cs
- SecurityContext.cs
- TypeListConverter.cs
- StackSpiller.Generated.cs
- TextElementCollectionHelper.cs
- SendMailErrorEventArgs.cs
- ConfigXmlWhitespace.cs
- RelativeSource.cs
- Calendar.cs
- CodeArrayIndexerExpression.cs
- TextComposition.cs
- ContentDisposition.cs
- HitTestParameters3D.cs
- WinEventWrap.cs
- StringAttributeCollection.cs
- IntellisenseTextBox.designer.cs
- VerticalConnector.xaml.cs
- PolicyValidator.cs
- LicenseManager.cs
- FieldAccessException.cs
- ByteStreamGeometryContext.cs
- ByteAnimationBase.cs
- ConfigDefinitionUpdates.cs
- CatalogPartChrome.cs
- DataGridViewTopLeftHeaderCell.cs
- HttpEncoder.cs
- MetadataArtifactLoader.cs
- PrintControllerWithStatusDialog.cs
- SelectionEditingBehavior.cs
- SvcMapFile.cs
- HtmlTableRow.cs
- ScriptControlDescriptor.cs
- ListParaClient.cs
- DispatcherHooks.cs
- DataObjectFieldAttribute.cs
- UserControl.cs
- QuaternionAnimationBase.cs
- LinkedList.cs
- XmlName.cs
- FixUp.cs
- Action.cs
- ExtentCqlBlock.cs
- UTF32Encoding.cs
- EnumValAlphaComparer.cs
- Misc.cs
- ChannelRequirements.cs
- FontWeightConverter.cs
- JsonWriter.cs
- IERequestCache.cs
- RequestQueue.cs
- DataPagerField.cs
- Constant.cs
- ScrollBar.cs
- Matrix3DConverter.cs
- HtmlTextViewAdapter.cs
- CutCopyPasteHelper.cs
- RawMouseInputReport.cs
- SrgsText.cs
- FamilyTypefaceCollection.cs
- WorkflowApplicationEventArgs.cs
- HandleCollector.cs
- ForceCopyBuildProvider.cs
- Task.cs
- SecureStringHasher.cs
- InstanceLockException.cs
- LazyTextWriterCreator.cs
- COM2ComponentEditor.cs
- AudioBase.cs
- Pts.cs
- BoundField.cs
- WebAdminConfigurationHelper.cs
- OleDbErrorCollection.cs
- SignatureDescription.cs
- _BufferOffsetSize.cs
- AddingNewEventArgs.cs
- Compiler.cs
- SqlDataSource.cs
- LongTypeConverter.cs
- PageBreakRecord.cs
- SqlBulkCopy.cs
- SineEase.cs
- StateItem.cs
- SystemSounds.cs
- CompleteWizardStep.cs
- WebPartConnectionsCancelEventArgs.cs
- UriScheme.cs
- DrawToolTipEventArgs.cs
- ColumnResizeAdorner.cs
- Function.cs
- CodeDomExtensionMethods.cs
- PointLightBase.cs
- PreApplicationStartMethodAttribute.cs
- X509Chain.cs
- EntityDataSource.cs
- ListDictionaryInternal.cs
- PointAnimation.cs