Dela via


HttpResponseHeaderCollection.RetryAfter Property

Definition

Gets or sets the HttpDateOrDeltaHeaderValue object that represent the value of a Retry-After HTTP header on an HTTP response.

public:
 property HttpDateOrDeltaHeaderValue ^ RetryAfter { HttpDateOrDeltaHeaderValue ^ get(); void set(HttpDateOrDeltaHeaderValue ^ value); };
HttpDateOrDeltaHeaderValue RetryAfter();

void RetryAfter(HttpDateOrDeltaHeaderValue value);
public HttpDateOrDeltaHeaderValue RetryAfter { get; set; }
var httpDateOrDeltaHeaderValue = httpResponseHeaderCollection.retryAfter;
httpResponseHeaderCollection.retryAfter = httpDateOrDeltaHeaderValue;
Public Property RetryAfter As HttpDateOrDeltaHeaderValue

Property Value

The object that represents the value of a Retry-After HTTP header on an HTTP response. A null value means that the header is absent.

Applies to

See also