다음을 통해 공유


AsyncAutoResetEvent 생성자

정의

오버로드

AsyncAutoResetEvent()

인라인 대기자가 아닌 클래스의 AsyncAutoResetEvent 새 instance 초기화합니다.

AsyncAutoResetEvent(Boolean)

AsyncAutoResetEvent 클래스의 새 인스턴스를 초기화합니다.

AsyncAutoResetEvent()

인라인 대기자가 아닌 클래스의 AsyncAutoResetEvent 새 instance 초기화합니다.

public:
 AsyncAutoResetEvent();
public:
 AsyncAutoResetEvent();
 AsyncAutoResetEvent();
public AsyncAutoResetEvent ();
Public Sub New ()

적용 대상

AsyncAutoResetEvent(Boolean)

AsyncAutoResetEvent 클래스의 새 인스턴스를 초기화합니다.

public:
 AsyncAutoResetEvent(bool allowInliningAwaiters);
public:
 AsyncAutoResetEvent(bool allowInliningAwaiters);
 AsyncAutoResetEvent(bool allowInliningAwaiters);
public AsyncAutoResetEvent (bool allowInliningAwaiters);
new Microsoft.VisualStudio.Threading.AsyncAutoResetEvent : bool -> Microsoft.VisualStudio.Threading.AsyncAutoResetEvent
Public Sub New (allowInliningAwaiters As Boolean)

매개 변수

allowInliningAwaiters
Boolean

비동기가 아닌 메서드에서 Set() 작업을 동기적으로 완료할지 여부를 나타내는 값입니다. false 는 클래스의 동작을 AutoResetEvent 더 잘 시뮬레이션하지만 true 성능이 약간 향상됩니다.

설명

매개 변수를 allowInliningWaiters 로 설정하면 false 클래스의 동작이 AutoResetEvent 시뮬레이션되지만 로 설정하면 true 성능이 약간 향상됩니다.

적용 대상