Click or drag to resize
RedisClientSetEX Method (String, String, Int32)
设置一个值并指定过期时间

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public bool SetEX(
	string key,
	string value,
	int expireSeconds
)

Parameters

key
Type: SystemString

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

value
Type: SystemString

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

expireSeconds
Type: SystemInt32

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

Return Value

Type: Boolean

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

See Also