e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
27 lines
905 B
C#
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);
|
|
}
|
|
}
|
|
}
|