TaskCompletionSourceFactoryCreateNewT(Object) Method
Creates a new instance of the TaskCompletionSourceTResult class.
Namespace: Gemstone.ThreadingAssembly: Gemstone.Threading (in Gemstone.Threading.dll) Version: 1.0.150 -- Release Build+058518a49b1370d27547de9971386266c9284ccd
public static TaskCompletionSource<T> CreateNew<T>(
Object state
)
Public Shared Function CreateNew(Of T) (
state As Object
) As TaskCompletionSource(Of T)
public:
generic<typename T>
static TaskCompletionSource<T>^ CreateNew(
Object^ state
)
JavaScript does not support generic types or methods.
- state Object
- The state to use as the underlying Task's AsyncState.
- T
- The type of the result value associated with the TaskCompletionSourceTResult.
TaskCompletionSourceTA new object of type
TaskCompletionSourceTResult.