DocSpace-client/thirdparty/AppLimit.CloudComputing.SharpBox/Common/AsyncResultEx.cs
2020-03-13 16:40:58 +03:00

50 lines
1.4 KiB
C#

using System;
namespace AppLimit.CloudComputing.SharpBox.Common
{
/// <summary>
/// This class implements the used async result class
/// which will be generated in all async operations
/// </summary>
public class AsyncResultEx : IAsyncResult
{
/// <summary>
/// ctor of AsyncResultEx which handles
/// the used state object
/// </summary>
/// <param name="asyncState"></param>
public AsyncResultEx(object asyncState)
{
AsyncState = asyncState;
}
/// <summary>
/// This properties allows read access to the state object
/// </summary>
public object AsyncState { get; private set; }
/// <summary>
/// The wait handle, which is not needed in SharpBox
/// </summary>
public System.Threading.WaitHandle AsyncWaitHandle
{
get { throw new NotImplementedException(); }
}
/// <summary>
/// The sync boolean, which is not needed in SharpBox
/// </summary>
public bool CompletedSynchronously
{
get { throw new NotImplementedException(); }
}
/// <summary>
/// IsCompleted, which is not needed in SharpBox
/// </summary>
public bool IsCompleted
{
get { throw new NotImplementedException(); }
}
}
}