InvokablePool.Return<T>(T) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.