Redigera

Dela via


InvokablePool.Return<T>(T) Method

Definition

Returns a value to the pool.

public static void Return<T> (T obj) where T : class, Orleans.Serialization.Invocation.IInvokable, new();
static member Return : 'T -> unit (requires 'T : null and 'T :> Orleans.Serialization.Invocation.IInvokable and 'T : (new : unit -> 'T))
Public Shared Sub Return(Of T As {Class, IInvokable, New}) (obj As T)

Type Parameters

T

The type of the value.

Parameters

obj
T

The value to return.

Applies to