Class AsyncResult
Dummy async result which uses in the noop processing, It uses internally
Inheritance
System.Object
AsyncResult
Implements
System.IAsyncResult
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: EPiServer.Framework
Assembly: EPiServer.Framework.dll
Version: 9.12.2Syntax
public class AsyncResult : IAsyncResult
Constructors
AsyncResult(AsyncCallback, Object)
Create and keep yje callback and extra data from async caller
Declaration
public AsyncResult(AsyncCallback cb, object extraData)
Parameters
Type | Name | Description |
---|---|---|
System.AsyncCallback | cb | |
System.Object | extraData |
Properties
AsyncState
The AsyncData
Declaration
public object AsyncState { get; }
Property Value
Type | Description |
---|---|
System.Object |
AsyncWaitHandle
Declaration
public WaitHandle AsyncWaitHandle { get; }
Property Value
Type | Description |
---|---|
System.Threading.WaitHandle |
CompletedSynchronously
Indicate if the operation does Synchronously
Declaration
public bool CompletedSynchronously { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
IsCompleted
Indicate if it is competed or nott
Declaration
public bool IsCompleted { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Methods
SetCompleted()
Calls callback and sets it has been completed
Declaration
public void SetCompleted()
Implements
System.IAsyncResult