|
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.248-beta+a497a19de709fd99e2448886199a2c8824265ddf
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 -> ManagedThread
GSF.Threading.ManagedThread = function(callback, ctx);
View SourceParameters
- callback ContextCallback
- A ContextCallback delgate to execute.
- ctx ExecutionContext
- An ExecutionContext.
See Also