Click or drag to resize
RedisClientExpire Method
设置键过期间隔

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public bool Expire(
	string key,
	int seconds
)

Parameters

key
Type: SystemString

[Missing <param name="key"/> documentation for "M:Adf.RedisClient.Expire(System.String,System.Int32)"]

seconds
Type: SystemInt32

[Missing <param name="seconds"/> documentation for "M:Adf.RedisClient.Expire(System.String,System.Int32)"]

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Adf.RedisClient.Expire(System.String,System.Int32)"]

See Also