Table of Contents

Method SetTimeout

Namespace
MaaFramework.Binding
Assembly
MaaFramework.Binding.dll

SetTimeout(long)

Sets the timeout for the agent server to respond.

bool SetTimeout(long millisecondsDelay)

Parameters

millisecondsDelay long

The time span to wait before the agent server response.

Returns

bool

true if the timeout was set successfully; otherwise, false.

SetTimeout(TimeSpan)

Sets the timeout for the agent server to respond.

bool SetTimeout(TimeSpan delay)

Parameters

delay TimeSpan

The time span to wait before the agent server response.

Returns

bool

true if the timeout was set successfully; otherwise, false.