UdpTransportElement.TimeToLive Property

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets or sets the time to live for the UDP binding element.

Namespace:   System.ServiceModel.Configuration
Assembly:  System.ServiceModel.Channels (in System.ServiceModel.Channels.dll)

[ConfigurationPropertyAttribute("timeToLive", DefaultValue = 1)]
[IntegerValidatorAttribute(MinValue = 0, MaxValue = 255)]
public int TimeToLive { get; set; }

Property Value

Type: System.Int32

The time to live for the UDP binding element.

.NET Framework
Available since 4.5
Return to top
Show: