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
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по