Share via


FakeHostOptions.TimeToLive Property

Definition

Gets or sets the time limit for the host to be up.

public:
 property TimeSpan TimeToLive { TimeSpan get(); void set(TimeSpan value); };
public TimeSpan TimeToLive { get; set; }
member this.TimeToLive : TimeSpan with get, set
Public Property TimeToLive As TimeSpan

Property Value

The default is 30 seconds.

Remarks

-1 millisecond means infinite time to live. TimeToLive is not enforced when debugging.

Applies to