System.Web.UI.Page.DummyAsyncResult.DummyAsyncResult C# (CSharp) Method

DummyAsyncResult() public method

public DummyAsyncResult ( bool isCompleted, bool completedSynchronously, object state ) : System
isCompleted bool
completedSynchronously bool
state object
return System
		public DummyAsyncResult (bool isCompleted, bool completedSynchronously, object state) 
		{
			this.isCompleted = isCompleted;
			this.completedSynchronously = completedSynchronously;
			this.state = state;
			if (isCompleted) {
				asyncWaitHandle = new ManualResetEvent (true);
			}
			else {
				asyncWaitHandle = new ManualResetEvent (false);
			}
		}
Page.DummyAsyncResult