Bewerken

Delen via


UdpBindingElement.TimeToLive Property

Definition

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

public:
 property int TimeToLive { int get(); void set(int value); };
[System.Configuration.ConfigurationProperty("timeToLive", DefaultValue=1)]
[System.Configuration.IntegerValidator(MaxValue=255, MinValue=0)]
public int TimeToLive { get; set; }
[<System.Configuration.ConfigurationProperty("timeToLive", DefaultValue=1)>]
[<System.Configuration.IntegerValidator(MaxValue=255, MinValue=0)>]
member this.TimeToLive : int with get, set
Public Property TimeToLive As Integer

Property Value

The time to live for the UDP binding element.

Attributes

Applies to