Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retry policy with exponential retry and linear retry implemented.
Storage |
Creates an instance of RetryPolicy. |
send |
Sends request. |
log(Http |
Attempt to log the provided message to the provided logger. If no logger was provided or if the log level does not meat the logger's threshold, then nothing will be logged. |
should |
Get whether or not a log with the provided log level should be logged. |
Creates an instance of RetryPolicy.
new StorageRetryPolicy(nextPolicy: RequestPolicy, options: RequestPolicyOptionsLike, retryOptions?: StorageRetryOptions)
Sends request.
function sendRequest(request: WebResourceLike): Promise<CompatResponse>
Promise<HttpOperationResponse>
Attempt to log the provided message to the provided logger. If no logger was provided or if the log level does not meat the logger's threshold, then nothing will be logged.
function log(logLevel: HttpPipelineLogLevel, message: string)
The log level of this log.
string
The message of this log.
Inherited From BaseRequestPolicy.log
Get whether or not a log with the provided log level should be logged.
function shouldLog(logLevel: HttpPipelineLogLevel): boolean
The log level of the log that will be logged.
boolean
Whether or not a log with the provided log level should be logged.
Inherited From BaseRequestPolicy.shouldLog
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in