System.Net.ContextAwareResult.ContextAwareResult C# (CSharp) Method

ContextAwareResult() private method

private ContextAwareResult ( bool captureIdentity, bool forceCaptureContext, bool threadSafeContextCopy, object myObject, object myState, AsyncCallback myCallBack ) : System.Diagnostics
captureIdentity bool
forceCaptureContext bool
threadSafeContextCopy bool
myObject object
myState object
myCallBack AsyncCallback
return System.Diagnostics
        internal ContextAwareResult(bool captureIdentity, bool forceCaptureContext, bool threadSafeContextCopy, object myObject, object myState, AsyncCallback myCallBack) :
            base(myObject, myState, myCallBack)
        {
            if (forceCaptureContext)
            {
                _flags = StateFlags.CaptureContext;
            }

            if (captureIdentity)
            {
                _flags |= StateFlags.CaptureIdentity;
            }

            if (threadSafeContextCopy)
            {
                _flags |= StateFlags.ThreadSafeContextCopy;
            }
        }

Same methods

ContextAwareResult::ContextAwareResult ( bool captureIdentity, bool forceCaptureContext, object myObject, object myState, AsyncCallback myCallBack ) : System.Diagnostics
ContextAwareResult::ContextAwareResult ( object myObject, object myState, AsyncCallback myCallBack ) : System.Diagnostics