The IProvider interface.
More...
|
DLR_RESULT | SetTimeout (uint timeoutMillis) |
| Set timeout for a node for asynchron requests (default value is 10000 ms). If the handler method of the provider does not return a response within timeoutMillis, the client will automatically receive bad result DL_TIMEOUT. The result after timeout will be discarded.
|
|
The IProvider interface.
Definition at line 8 of file IProviderNode.cs.
◆ SetTimeout()
Set timeout for a node for asynchron requests (default value is 10000 ms). If the handler method of the provider does not return a response within timeoutMillis, the client will automatically receive bad result DL_TIMEOUT. The result after timeout will be discarded.
- Parameters
-
timeoutMillis | Timeout in milliseconds for this node. |
- Returns
- Result of the method call.
- Exceptions
-
ObjectDisposedException | Cannot access a disposed object. |
ArgumentNullException | Argument cannot be null. |
◆ Handler
◆ Provider
The documentation for this interface was generated from the following file: