Class AsyncOperation<TArgument>
Delegate describing the function signature required for the method that is called to initiate user processing in a new NetServer thread
Namespace: SuperOffice.Threading
Assembly: SoCore.dll
Syntax
public sealed class AsyncOperation<TArgument> : MulticastDelegate
Type Parameters
Name | Description |
---|---|
TArgument |
Constructors
AsyncOperation(Object, IntPtr)
Delegate describing the function signature required for the method that is called to initiate user processing in a new NetServer thread
Declaration
public AsyncOperation(object object, IntPtr method)
Parameters
Type | Name | Description |
---|---|---|
Object | object | |
IntPtr | method |
Methods
BeginInvoke(AsyncContext, TArgument, AsyncCallback, Object)
Delegate describing the function signature required for the method that is called to initiate user processing in a new NetServer thread
Declaration
public virtual IAsyncResult BeginInvoke(AsyncContext context, TArgument argument, AsyncCallback callback, object object)
Parameters
Type | Name | Description |
---|---|---|
AsyncContext | context | |
TArgument | argument | |
AsyncCallback | callback | |
Object | object |
Returns
Type | Description |
---|---|
IAsyncResult |
EndInvoke(IAsyncResult)
Delegate describing the function signature required for the method that is called to initiate user processing in a new NetServer thread
Declaration
public virtual void EndInvoke(IAsyncResult result)
Parameters
Type | Name | Description |
---|---|---|
IAsyncResult | result |
Invoke(AsyncContext, TArgument)
Delegate describing the function signature required for the method that is called to initiate user processing in a new NetServer thread
Declaration
public virtual void Invoke(AsyncContext context, TArgument argument)
Parameters
Type | Name | Description |
---|---|---|
AsyncContext | context | |
TArgument | argument |
Extension Methods
EnumUtil.MapEnums<From, To>(From)