System::Threading::SynchronizationContext::get_Current method

SynchronizationContext::get_Current method

Gets the synchronization context for the current thread.

static const SharedPtr<SynchronizationContext> & System::Threading::SynchronizationContext::get_Current()

ReturnValue

SharedPtr A shared pointer to the current thread’s synchronization context.

Remarks

Returns null if no synchronization context has been set for the current thread.

See Also