System::Threading::SynchronizationContext::get_Current μέθοδος

SynchronizationContext::get_Current method

Λαμβάνει το synchronization context για το τρέχον νήμα.

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

ReturnValue

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

Παρατηρήσεις

Επιστρέφει null εάν δεν έχει οριστεί πλαίσιο συγχρονισμού για το τρέχον νήμα.

Δείτε επίσης