IConnectionTimeoutFeature.SetTimeout(TimeSpan) Method
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.
Close the connection after the specified positive finite TimeSpan unless the timeout is canceled or reset. This will fail if there is an ongoing timeout.
public:
void SetTimeout(TimeSpan timeSpan);
public void SetTimeout (TimeSpan timeSpan);
abstract member SetTimeout : TimeSpan -> unit
Public Sub SetTimeout (timeSpan As TimeSpan)
Parameters
- timeSpan
- TimeSpan