System::Net::Http::Headers::CacheControlHeaderValue::set_MaxAge method

CacheControlHeaderValue::set_MaxAge method

Sets the maximum age value in seconds that determines a time during which the client will accept a response.

void System::Net::Http::Headers::CacheControlHeaderValue::set_MaxAge(Nullable<TimeSpan> value)
ParameterTypeDescription
valueNullable<TimeSpan>The maximum age that must be set.

See Also