Microsoft.Common.Core.Threading.AsyncManualResetEvent.AsyncManualResetEvent C# (CSharp) 메소드

AsyncManualResetEvent() 공개 메소드

public AsyncManualResetEvent ( bool isSet = false ) : System.Threading
isSet bool
리턴 System.Threading
        public AsyncManualResetEvent(bool isSet = false) {
            _tcs = new TaskCompletionSource<bool>();
            if (isSet) {
                _tcs.SetResult(true);
            }
        }