다음을 통해 공유


SynchronizationContext.SetSynchronizationContext 메서드

정의

현재 동기화 컨텍스트를 설정합니다.

public:
 static void SetSynchronizationContext(System::Threading::SynchronizationContext ^ syncContext);
[System.Security.SecurityCritical]
public static void SetSynchronizationContext (System.Threading.SynchronizationContext syncContext);
public static void SetSynchronizationContext (System.Threading.SynchronizationContext? syncContext);
public static void SetSynchronizationContext (System.Threading.SynchronizationContext syncContext);
[<System.Security.SecurityCritical>]
static member SetSynchronizationContext : System.Threading.SynchronizationContext -> unit
static member SetSynchronizationContext : System.Threading.SynchronizationContext -> unit
Public Shared Sub SetSynchronizationContext (syncContext As SynchronizationContext)

매개 변수

syncContext
SynchronizationContext

설정할 SynchronizationContext 개체입니다.

특성

적용 대상