Sys.Services RoleService timeout Property
Gets or sets the role service time-out value.
Note
To get or set property values for client API properties, you must call property accessor methods that are named with the get_ and set_ prefixes. For example, to get or set a value for a property such as cancel, you call the get_cancel or set_cancel methods.
var profTimeout = Sys.Services.RoleService.get_timeout();
Sys.Services.RoleService.set_timeout(value);
Parameters
Parameter |
Description |
---|---|
value |
The time-out value in milliseconds. |
Remarks
The timeout property represents the time in milliseconds that the current instance of the WebRequestExecutor class should wait before timing out the request.
By setting a time-out interval, you can make sure that a pending request returns based on a time interval that you specify, instead of waiting for the asynchronous communication layer to time out.