FakeHostOptions.ShutDownTimeout Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.