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
- Size3DConverter.cs
- SharedUtils.cs
- StreamGeometryContext.cs
- BaseTemplateBuildProvider.cs
- BasicHttpSecurity.cs
- AttachedPropertyDescriptor.cs
- ThemeDictionaryExtension.cs
- XPathNodeIterator.cs
- FormView.cs
- EncodingInfo.cs
- SqlPersistenceWorkflowInstanceDescription.cs
- FrameworkReadOnlyPropertyMetadata.cs
- GAC.cs
- UnaryNode.cs
- DefaultIfEmptyQueryOperator.cs
- ModifiableIteratorCollection.cs
- DataGridComponentEditor.cs
- XmlAttributeProperties.cs
- BaseAddressPrefixFilterElementCollection.cs
- VirtualPathProvider.cs
- DateTimeSerializationSection.cs
- Axis.cs
- RankException.cs
- GradientBrush.cs
- CancellationTokenSource.cs
- DebuggerService.cs
- HttpResponseInternalWrapper.cs
- AttributeEmitter.cs
- ColorDialog.cs
- TreePrinter.cs
- TemplateBamlTreeBuilder.cs
- ArgumentException.cs
- DesignUtil.cs
- XmlSchemaCompilationSettings.cs
- HelpInfo.cs
- SQLConvert.cs
- Splitter.cs
- CellTreeNodeVisitors.cs
- WorkflowInstanceQuery.cs
- DataServiceProcessingPipeline.cs
- CookielessData.cs
- UserPersonalizationStateInfo.cs
- HijriCalendar.cs
- AutomationPatternInfo.cs
- AnnotationAdorner.cs
- GroupAggregateExpr.cs
- MobileResource.cs
- KerberosRequestorSecurityToken.cs
- ComponentChangingEvent.cs
- SafeReadContext.cs
- datacache.cs
- OleDbReferenceCollection.cs
- PrintDocument.cs
- dbenumerator.cs
- SocketException.cs
- ComAdminInterfaces.cs
- LicFileLicenseProvider.cs
- UriTemplateHelpers.cs
- SerializationObjectManager.cs
- TextEncodedRawTextWriter.cs
- Int32RectValueSerializer.cs
- BoundField.cs
- NextPreviousPagerField.cs
- DesignerTransactionCloseEvent.cs
- WasHostedComPlusFactory.cs
- Slider.cs
- BufferedStream2.cs
- ExtendedProtectionPolicy.cs
- DragDrop.cs
- TextRunTypographyProperties.cs
- StopRoutingHandler.cs
- EdmSchemaAttribute.cs
- X509CertificateCollection.cs
- JournalEntryStack.cs
- ExtensionDataObject.cs
- HwndMouseInputProvider.cs
- XamlTypeMapper.cs
- bindurihelper.cs
- X509Extension.cs
- ToolStripSettings.cs
- ResourceDictionaryCollection.cs
- InkCanvas.cs
- DescendantQuery.cs
- Boolean.cs
- KeyboardEventArgs.cs
- DoubleCollectionValueSerializer.cs
- AvTraceFormat.cs
- SecondaryIndexDefinition.cs
- DataListGeneralPage.cs
- AsyncCodeActivity.cs
- XmlAttributes.cs
- CommonProperties.cs
- SkinBuilder.cs
- ProgramPublisher.cs
- New.cs
- DataMemberFieldConverter.cs
- EventBuilder.cs
- Visual3D.cs
- RolePrincipal.cs
- XmlSchemaSimpleTypeList.cs