RequestOptions Constructors
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.
Overloads
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(TimeSpan, RetryPolicy) |
Initializes request Id as GUID (default), Timeout and the request option as supplied by consumer |
RequestOptions(String, TimeSpan, RetryPolicy) |
Initializes request Id, Timeout, and the request option |
RequestOptions()
Initializes request Id as GUID, Timeout as 60 seconds, and the request option as No retry
public RequestOptions ();
Public Sub New ()
Applies to
RequestOptions(RetryPolicy)
Initializes request Id as GUID (default), Timeout as 60 seconds (default), and the request option
public RequestOptions (Microsoft.Azure.DataLake.Store.RetryPolicies.RetryPolicy rp);
new Microsoft.Azure.DataLake.Store.RequestOptions : Microsoft.Azure.DataLake.Store.RetryPolicies.RetryPolicy -> Microsoft.Azure.DataLake.Store.RequestOptions
Public Sub New (rp As RetryPolicy)
Parameters
- rp
- RetryPolicy
Retry option
Applies to
RequestOptions(TimeSpan, RetryPolicy)
Initializes request Id as GUID (default), Timeout and the request option as supplied by consumer
public RequestOptions (TimeSpan timeOut, Microsoft.Azure.DataLake.Store.RetryPolicies.RetryPolicy rp);
new Microsoft.Azure.DataLake.Store.RequestOptions : TimeSpan * Microsoft.Azure.DataLake.Store.RetryPolicies.RetryPolicy -> Microsoft.Azure.DataLake.Store.RequestOptions
Public Sub New (timeOut As TimeSpan, rp As RetryPolicy)
Parameters
- timeOut
- TimeSpan
- rp
- RetryPolicy
Applies to
RequestOptions(String, TimeSpan, RetryPolicy)
Initializes request Id, Timeout, and the request option
public RequestOptions (string requestId, TimeSpan timeOut, Microsoft.Azure.DataLake.Store.RetryPolicies.RetryPolicy rp);
new Microsoft.Azure.DataLake.Store.RequestOptions : string * TimeSpan * Microsoft.Azure.DataLake.Store.RetryPolicies.RetryPolicy -> Microsoft.Azure.DataLake.Store.RequestOptions
Public Sub New (requestId As String, timeOut As TimeSpan, rp As RetryPolicy)
Parameters
- requestId
- String
request Id
- timeOut
- TimeSpan
Time out
- rp
- RetryPolicy
Retry policy
Applies to
Azure SDK for .NET