Share via


FakeHostOptions.ShutDownTimeout Property

Definition

Gets or sets the time limit for the host to shut down.

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

Property Value

The default value is 10 seconds.

Remarks

This limit is used if there's no cancellation token.

Applies to