다음을 통해 공유


Scheduler::Release Method

Decrements the scheduler reference count.

virtual unsigned int Release() =0;

Return Value

The newly decremented reference count.

Remarks

This is typically used to manage the lifetime of the scheduler for composition. When the reference count of a scheduler falls to zero, the scheduler will shut down and destruct itself after all work on the scheduler has completed.

Requirements

Header: concrt.h

Namespace: concurrency

See Also

Reference

Scheduler Class

Scheduler::Reference Method

Scheduler::Create Method