AsyncOperationManager.SynchronizationContext Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the synchronization context for the asynchronous operation.
public:
static property System::Threading::SynchronizationContext ^ SynchronizationContext { System::Threading::SynchronizationContext ^ get(); void set(System::Threading::SynchronizationContext ^ value); };
public static System.Threading.SynchronizationContext SynchronizationContext { get; set; }
static member SynchronizationContext : System.Threading.SynchronizationContext with get, set
Public Shared Property SynchronizationContext As SynchronizationContext
Property Value
The synchronization context for the asynchronous operation.
Remarks
The default implementation is the free-threaded implementation.
A thread should set the SynchronizationContext property to null
to release the free-threaded factory when it is done, or else its factory will never be disposed.
Applies to
GitHub पर हमारे साथ सहयोग करें
इस सामग्री का स्रोत GitHub पर पाया जा सकता है, जहाँ आप समस्याएँ बना और समीक्षा भी कर सकते हैं और अनुरोध खींच सकते हैं. अधिक जानकारी के लिए, हमारे योगदानकर्ता गाइड देखें.