Jo Shields 3c1f479b9d Imported Upstream version 4.0.0~alpha1
Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
2015-04-07 09:35:12 +01:00

27 lines
905 B
C#

//------------------------------------------------------------------------------
// <copyright file="FlushAsyncResult.cs" company="Microsoft">
// Copyright (c) Microsoft Corporation. All rights reserved.
// </copyright>
//------------------------------------------------------------------------------
/*
* IAsyncResult for asynchronous flush.
*
* Copyright (c) 2010 Microsoft Corporation
*/
namespace System.Web.Hosting {
using System;
using System.Threading;
using System.Web.Util;
internal class FlushAsyncResult : AsyncResultBase {
internal FlushAsyncResult(AsyncCallback cb, Object state): base(cb, state) {
}
internal override void Complete(int bytesSent, int hresult, IntPtr pAsyncCompletionContext, bool synchronous) {
Complete(hresult, synchronous);
}
}
}