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
- PagePropertiesChangingEventArgs.cs
- DBNull.cs
- FormViewUpdatedEventArgs.cs
- SharedPersonalizationStateInfo.cs
- DocumentScope.cs
- TimeStampChecker.cs
- DataControlFieldsEditor.cs
- ConstantSlot.cs
- PrinterUnitConvert.cs
- GregorianCalendarHelper.cs
- ToolTipService.cs
- ConsoleTraceListener.cs
- _NegoStream.cs
- InputProcessorProfilesLoader.cs
- SourceFileInfo.cs
- NativeActivity.cs
- DataRelationCollection.cs
- ButtonChrome.cs
- HttpCapabilitiesEvaluator.cs
- GB18030Encoding.cs
- SemanticAnalyzer.cs
- DictionaryGlobals.cs
- PropertyIDSet.cs
- URI.cs
- SqlGatherProducedAliases.cs
- SelectionProviderWrapper.cs
- WindowsImpersonationContext.cs
- serverconfig.cs
- PathSegmentCollection.cs
- MimeTypeMapper.cs
- WebPartVerbCollection.cs
- Geometry3D.cs
- TokenBasedSetEnumerator.cs
- SegmentInfo.cs
- Conditional.cs
- MergeLocalizationDirectives.cs
- ViewPort3D.cs
- AtlasWeb.Designer.cs
- XmlSchemaSimpleTypeList.cs
- XmlTextWriter.cs
- BindingNavigator.cs
- OrderPreservingSpoolingTask.cs
- FrameAutomationPeer.cs
- DecimalAverageAggregationOperator.cs
- OperationResponse.cs
- DocumentXPathNavigator.cs
- ExpressionBuilder.cs
- XmlChoiceIdentifierAttribute.cs
- StateChangeEvent.cs
- MatrixCamera.cs
- ReceiveSecurityHeader.cs
- XPathSelfQuery.cs
- XPathMessageFilterTable.cs
- RelationshipEnd.cs
- MsmqElementBase.cs
- SplashScreenNativeMethods.cs
- Logging.cs
- ConnectionConsumerAttribute.cs
- BufferedGraphics.cs
- FlowDocumentPage.cs
- TreeBuilder.cs
- Sql8ConformanceChecker.cs
- ITreeGenerator.cs
- HwndTarget.cs
- MarshalByRefObject.cs
- ExtensionDataObject.cs
- WindowInteropHelper.cs
- PagesSection.cs
- EventLogEntryCollection.cs
- JsonCollectionDataContract.cs
- FamilyTypefaceCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- BuildManager.cs
- RpcCryptoContext.cs
- GenerateScriptTypeAttribute.cs
- PrintDialogException.cs
- XamlBuildTaskServices.cs
- HandleDictionary.cs
- DetailsViewInsertedEventArgs.cs
- DurableErrorHandler.cs
- XmlHierarchyData.cs
- VisualBrush.cs
- CachedPathData.cs
- ListControl.cs
- MouseWheelEventArgs.cs
- SchemaTableOptionalColumn.cs
- EditorZoneBase.cs
- Thread.cs
- RowUpdatedEventArgs.cs
- TaskSchedulerException.cs
- InfoCardRSAOAEPKeyExchangeFormatter.cs
- SpellerInterop.cs
- CodeDOMUtility.cs
- LabelAutomationPeer.cs
- AssemblyAttributes.cs
- IPGlobalProperties.cs
- OutputScope.cs
- SmtpFailedRecipientsException.cs
- InvalidOleVariantTypeException.cs
- MethodExpr.cs