共用方式為


IUMSUnblockNotification::GetContext Method

Returns the IExecutionContext interface for the execution context associated with the thread proxy which has unblocked. Once this method returns and the underlying execution context has been rescheduled via a call to the IThreadProxy::SwitchTo method, this interface is no longer valid.

virtual IExecutionContext* GetContext() =0;

Return Value

An IExecutionContext interface for the execution context to a thread proxy which has unblocked.

Requirements

Header: concrtrm.h

Namespace: concurrency

See Also

Reference

IUMSUnblockNotification Structure