MySql.Data.MySqlClient.MySqlStream.ResetTimeout C# (CSharp) Method

ResetTimeout() public method

public ResetTimeout ( int timeout ) : void
timeout int
return void
    public void ResetTimeout(int timeout)
    {
      timedStream.ResetTimeout(timeout);
    }

Usage Example

コード例 #1
0
 /// <summary>
 /// Execution timeout, in milliseconds. When the accumulated time for network IO exceeds this value
 /// TimeoutException is thrown. This timeout needs to be reset for every new command
 /// </summary>
 ///
 public void ResetTimeout(int timeout)
 {
     if (stream != null)
     {
         stream.ResetTimeout(timeout);
     }
 }
All Usage Examples Of MySql.Data.MySqlClient.MySqlStream::ResetTimeout