ConcurrentQueueCopier<T>.DeepCopy 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
DeepCopy(ConcurrentQueue<T>, CopyContext) |
创建所提供输入的深层副本。 |
DeepCopy(ConcurrentQueue<T>, ConcurrentQueue<T>, CopyContext) |
从 |
DeepCopy(ConcurrentQueue<T>, CopyContext)
创建所提供输入的深层副本。
public System.Collections.Concurrent.ConcurrentQueue<T> DeepCopy (System.Collections.Concurrent.ConcurrentQueue<T> input, Orleans.Serialization.Cloning.CopyContext context);
abstract member DeepCopy : System.Collections.Concurrent.ConcurrentQueue<'T> * Orleans.Serialization.Cloning.CopyContext -> System.Collections.Concurrent.ConcurrentQueue<'T>
override this.DeepCopy : System.Collections.Concurrent.ConcurrentQueue<'T> * Orleans.Serialization.Cloning.CopyContext -> System.Collections.Concurrent.ConcurrentQueue<'T>
Public Function DeepCopy (input As ConcurrentQueue(Of T), context As CopyContext) As ConcurrentQueue(Of T)
参数
- input
- ConcurrentQueue<T>
输入。
- context
- CopyContext
上下文。
返回
input
的副本。
实现
适用于
DeepCopy(ConcurrentQueue<T>, ConcurrentQueue<T>, CopyContext)
从 input
克隆成员并将其复制到 output
。
public void DeepCopy (System.Collections.Concurrent.ConcurrentQueue<T> input, System.Collections.Concurrent.ConcurrentQueue<T> output, Orleans.Serialization.Cloning.CopyContext context);
abstract member DeepCopy : System.Collections.Concurrent.ConcurrentQueue<'T> * System.Collections.Concurrent.ConcurrentQueue<'T> * Orleans.Serialization.Cloning.CopyContext -> unit
override this.DeepCopy : System.Collections.Concurrent.ConcurrentQueue<'T> * System.Collections.Concurrent.ConcurrentQueue<'T> * Orleans.Serialization.Cloning.CopyContext -> unit
Public Sub DeepCopy (input As ConcurrentQueue(Of T), output As ConcurrentQueue(Of T), context As CopyContext)
参数
- input
- ConcurrentQueue<T>
输入。
- output
- ConcurrentQueue<T>
输出。
- context
- CopyContext
上下文。