ControllerBuildertimeout Method
|
Sets the timespan to wait before a controller request times out.
Namespace:
YourKit.Profiler.Api
Assembly:
YourKit.Profiler.Api (in YourKit.Profiler.Api.dll) Version: 2025.3.143
Syntaxpublic ControllerBuilder timeout(
TimeSpan timeout
)
Public Function timeout (
timeout As TimeSpan
) As ControllerBuilder
public:
ControllerBuilder^ timeout(
TimeSpan timeout
)
member timeout :
timeout : TimeSpan -> ControllerBuilder
Parameters
- timeout
- Type: SystemTimeSpan
Request timeout.
Return Value
Type:
ControllerBuilderA reference to this instance
Remarks
The default is infinite.
To capture memory snapshot, set the bigger timeout.
See Also