Class SetThreadState<TThreadState, TThreadCleanupState>
Operation signature used to assign state on to a new thread - passed on from a calling thread.
Inheritance
SetThreadState<TThreadState, TThreadCleanupState>
Assembly: SoCore.dll
Syntax
public sealed class SetThreadState<in TThreadState, out TThreadCleanupState> : MulticastDelegate
Type Parameters
Name |
Description |
TThreadState |
Type of state to apply on to the new thread.
|
TThreadCleanupState |
Type of state passed from initialization code in the new thread on to clean-up code in this same thread.
|
Constructors
SetThreadState(Object, IntPtr)
Operation signature used to assign state on to a new thread - passed on from a calling thread.
Declaration
public SetThreadState(object object, IntPtr method)
Parameters
Methods
BeginInvoke(TThreadState, AsyncCallback, Object)
Operation signature used to assign state on to a new thread - passed on from a calling thread.
Declaration
public virtual IAsyncResult BeginInvoke(TThreadState threadState, AsyncCallback callback, object object)
Parameters
Returns
EndInvoke(IAsyncResult)
Operation signature used to assign state on to a new thread - passed on from a calling thread.
Declaration
public virtual TThreadCleanupState EndInvoke(IAsyncResult result)
Parameters
Returns
Type |
Description |
TThreadCleanupState |
|
Invoke(TThreadState)
Operation signature used to assign state on to a new thread - passed on from a calling thread.
Declaration
public virtual TThreadCleanupState Invoke(TThreadState threadState)
Parameters
Type |
Name |
Description |
TThreadState |
threadState |
|
Returns
Type |
Description |
TThreadCleanupState |
|
Extension Methods