Udostępnij za pośrednictwem


ContainerDefinition<T>.WithDefaultTimeToLive Method

Definition

Overloads

WithDefaultTimeToLive(Int32)

DefaultTimeToLive will be applied to all the items in the container as the default time-to-live policy. The individual item could override the default time-to-live policy by setting its time to live.

WithDefaultTimeToLive(TimeSpan)

DefaultTimeToLive will be applied to all the items in the container as the default time-to-live policy. The individual item could override the default time-to-live policy by setting its time to live.

WithDefaultTimeToLive(Int32)

DefaultTimeToLive will be applied to all the items in the container as the default time-to-live policy. The individual item could override the default time-to-live policy by setting its time to live.

public T WithDefaultTimeToLive (int defaulTtlInSeconds);
member this.WithDefaultTimeToLive : int -> 'T
Public Function WithDefaultTimeToLive (defaulTtlInSeconds As Integer) As T

Parameters

defaulTtlInSeconds
Int32

The default Time To Live.

Returns

T

An instance of the current Fluent builder.

See also

Applies to

WithDefaultTimeToLive(TimeSpan)

DefaultTimeToLive will be applied to all the items in the container as the default time-to-live policy. The individual item could override the default time-to-live policy by setting its time to live.

public T WithDefaultTimeToLive (TimeSpan defaultTtlTimeSpan);
member this.WithDefaultTimeToLive : TimeSpan -> 'T
Public Function WithDefaultTimeToLive (defaultTtlTimeSpan As TimeSpan) As T

Parameters

defaultTtlTimeSpan
TimeSpan

The default Time To Live.

Returns

T

An instance of the current Fluent builder.

See also

Applies to