|
ManagedThread(ContextCallback, ExecutionContext) Constructor
|
Initializes a new instance of the ManagedThread class, specifying a delegate that allows an object to be passed to the thread when the thread is started
and allowing the user to specify an alternate execution context for the thread.
Namespace: GSF.ThreadingAssembly: GSF.Core (in GSF.Core.dll) Version: 2.4.258-beta+f8b6aa3dbfe0b4cc2b0b0760dd5d2a3dd4f59d09
Syntaxpublic ManagedThread(
ContextCallback callback,
ExecutionContext ctx
)
Public Sub New (
callback As ContextCallback,
ctx As ExecutionContext
)
public:
ManagedThread(
ContextCallback^ callback,
ExecutionContext^ ctx
)
new :
callback : ContextCallback *
ctx : ExecutionContext -> ManagedThreadGSF.Threading.ManagedThread = function(callback, ctx);
View SourceParameters
- callback ContextCallback
- A ContextCallback delgate to execute.
- ctx ExecutionContext
- An ExecutionContext.
See Also