Click or drag to resize
RedisClientSetNX Method (String, Byte)
设置一个值,当键已存在时则忽略

Namespace: Adf
Assembly: Adf (in Adf.dll) Version: 4.1.5549.27750
Syntax
public bool SetNX(
	string key,
	byte[] value
)

Parameters

key
Type: SystemString

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

value
Type: SystemByte

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

Return Value

Type: Boolean

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

See Also