set_MaxAge()

CacheControlHeaderValue::set_MaxAge(Nullable<TimeSpan>) 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)

Arguments

ParameterTypeDescription
valueNullable<TimeSpan>The maximum age that must be set.

See Also