Amib.Threading.Internal.WorkItem.SetResult C# (CSharp) 메소드

SetResult() 개인적인 메소드

Set the result of the work item to return
private SetResult ( object result, Exception exception ) : void
result object The result of the work item
exception System.Exception The exception that was throw while the workitem executed, null /// if there was no exception.
리턴 void
        internal void SetResult(object result, Exception exception)
        {
            _result = result;
            _exception = exception;
            SignalComplete(false);
        }