Class AsyncOperationFailure
Delegate describing the function signature required for a method that is called whenever an asynchronous operation throws an exception.
Namespace: SuperOffice.Threading
Assembly: SoCore.dll
Syntax
public sealed class AsyncOperationFailure : MulticastDelegate
Constructors
AsyncOperationFailure(Object, IntPtr)
Delegate describing the function signature required for a method that is called whenever an asynchronous operation throws an exception.
Declaration
public AsyncOperationFailure(object object, IntPtr method)
Parameters
| Type | Name | Description |
|---|---|---|
| Object | object | |
| IntPtr | method |
Methods
BeginInvoke(AsyncContext, Exception, AsyncCallback, Object)
Delegate describing the function signature required for a method that is called whenever an asynchronous operation throws an exception.
Declaration
public virtual IAsyncResult BeginInvoke(AsyncContext context, Exception exception, AsyncCallback callback, object object)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncContext | context | |
| Exception | exception | |
| AsyncCallback | callback | |
| Object | object |
Returns
| Type | Description |
|---|---|
| IAsyncResult |
EndInvoke(IAsyncResult)
Delegate describing the function signature required for a method that is called whenever an asynchronous operation throws an exception.
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
| Type | Name | Description |
|---|---|---|
| IAsyncResult | result |
Invoke(AsyncContext, Exception)
Delegate describing the function signature required for a method that is called whenever an asynchronous operation throws an exception.
Declaration
public virtual void Invoke(AsyncContext context, Exception exception)
Parameters
| Type | Name | Description |
|---|---|---|
| AsyncContext | context | |
| Exception | exception |