Method SetTimeout
- Namespace
- MaaFramework.Binding
- Assembly
- MaaFramework.Binding.Native.dll
SetTimeout(long)
Sets the timeout for the agent server to respond.
public bool SetTimeout(long millisecondsDelay)
Parameters
millisecondsDelay
long-
The time span to wait before the agent server response.
Returns
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaAgentClient.MaaAgentClientSetTimeout(System.IntPtr,System.Int64).
SetTimeout(TimeSpan)
Sets the timeout for the agent server to respond.
public bool SetTimeout(TimeSpan delay)
Parameters
delay
TimeSpan-
The time span to wait before the agent server response.
Returns
Remarks
Wrapper of MaaFramework.Binding.Interop.Native.MaaAgentClient.MaaAgentClientSetTimeout(System.IntPtr,System.Int64).