Class ScheduledCallback.ActionAsyncDelegate
Delegate for scheduled callback actions.
Inheritance
System.Object
ScheduledCallback.ActionAsyncDelegate
Assembly: SensusAndroid.dll
Syntax
public sealed class ActionAsyncDelegate : MulticastDelegate
Constructors
ActionAsyncDelegate(Object, IntPtr)
Declaration
public ActionAsyncDelegate(object object, IntPtr method)
Parameters
Type |
Name |
Description |
System.Object |
object |
|
System.IntPtr |
method |
|
Methods
BeginInvoke(CancellationToken, AsyncCallback, Object)
Declaration
public virtual IAsyncResult BeginInvoke(CancellationToken cancellationToken, AsyncCallback callback, object object)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
System.AsyncCallback |
callback |
|
System.Object |
object |
|
Returns
Type |
Description |
System.IAsyncResult |
|
EndInvoke(IAsyncResult)
Declaration
public virtual Task EndInvoke(IAsyncResult result)
Parameters
Type |
Name |
Description |
System.IAsyncResult |
result |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|
Invoke(CancellationToken)
Declaration
public virtual Task Invoke(CancellationToken cancellationToken)
Parameters
Type |
Name |
Description |
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task |
|