NonceCache.TryAddNonce(Byte[]) 方法

定义

在派生类中重写时,尝试向缓存添加指定 nouce。When overridden in a derived class, attempts to add the specified nonce to the cache.

public:
 abstract bool TryAddNonce(cli::array <System::Byte> ^ nonce);
public abstract bool TryAddNonce (byte[] nonce);
abstract member TryAddNonce : byte[] -> bool
Public MustOverride Function TryAddNonce (nonce As Byte()) As Boolean

参数

nonce
Byte[]

要添加到缓存中的 Nonce。The nonce to add to the cache.

返回

Boolean

如果成功地向缓存添加了 nonce,则为 true;否则为 falsetrue if the nonce was added to the cache; otherwise, false.

适用于