Skip to main content
HttpResponseHeaderCollection.RetryAfter | retryAfter property

Applies to Windows and Windows Phone

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

Syntax


var retryAfter = httpResponseHeaderCollection.retryAfter;
httpResponseHeaderCollection.retryAfter = retryAfter;

public HttpDateOrDeltaHeaderValue RetryAfter { get; set; }

Public Property RetryAfter As HttpDateOrDeltaHeaderValue

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

Property value

Type: HttpDateOrDeltaHeaderValue

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.

Requirements

Minimum supported client

Windows 8.1

Minimum supported server

Windows Server 2012 R2

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Web.Http.Headers
Windows::Web::Http::Headers [C++]

Metadata

Windows.winmd

See also

HttpDateOrDeltaHeaderValue
HttpResponseHeaderCollection
HttpResponseMessage
HttpResponseMessage.Headers