RequestOptions Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
This class contains the request parameters like timeout, Retry Policy and unique requestId
public class RequestOptions
type RequestOptions = class
Public Class RequestOptions
- Inheritance
-
RequestOptions
Constructors
RequestOptions() |
Initializes request Id as GUID, Timeout as 60 seconds, and the request option as No retry |
RequestOptions(RetryPolicy) |
Initializes request Id as GUID (default), Timeout as 60 seconds (default), and the request option |
RequestOptions(String, TimeSpan, RetryPolicy) |
Initializes request Id, Timeout, and the request option |
RequestOptions(TimeSpan, RetryPolicy) |
Initializes request Id as GUID (default), Timeout and the request option as supplied by consumer |
Properties
RequestId |
Unique request Id of the Http Request |
RetryOption |
Type of retry policy to use |
TimeOut |
Timeout for Http request and stream read and write |
Applies to
Azure SDK for .NET