Microsoft.Common.Core.Threading.AsyncManualResetEvent.AsyncManualResetEvent C# (CSharp) Méthode

AsyncManualResetEvent() public méthode

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