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