RedirectPolicy 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.
A pipeline policy that detects a redirect response code and resends the request to the location specified by the response.
public sealed class RedirectPolicy : Azure.Core.Pipeline.HttpPipelinePolicy
type RedirectPolicy = class
inherit HttpPipelinePolicy
Public NotInheritable Class RedirectPolicy
Inherits HttpPipelinePolicy
- Inheritance
Methods
Process(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>) |
Applies the policy to the |
ProcessAsync(HttpMessage, ReadOnlyMemory<HttpPipelinePolicy>) |
Applies the policy to the |
SetAllowAutoRedirect(HttpMessage, Boolean) |
Sets a value that indicates whether redirects will be automatically followed for this message. |
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: Under hela 2024 kommer vi att fasa ut GitHub-problem som feedbackmekanism för innehåll och ersätta det med ett nytt feedbacksystem. Mer information finns i:Skicka och visa feedback för