Click or drag to resize

AbortableUnsafeStart(Object) Methode

Causes the operating system to change the state of the current instance to Running, and optionally supplies an object containing data to be used by the method the thread executes.

Namensraum: NetEti.ApplicationControl
Assembly: NetEti.ProcessTools (in NetEti.ProcessTools.dll) Version: 1.0.0+6e6ab0c4fed8e24cd32ff9136ecb6b264898a6a9
Syntax
public void UnsafeStart(
	Object? parameter
)

Parameter

parameter  Object
An object that contains data to be used by the method the thread executes.
Ausnahmen
AusnahmeBedingung
ThreadStateExceptionThe thread has already been started.
OutOfMemoryExceptionThere is not enough memory available to start this thread.
InvalidOperationExceptionThis thread was created using a ThreadStart delegate instead of a ParameterizedThreadStart delegate.
Anmerkungen
Unlike Start(Object), which captures the current ExecutionContext and uses that context to invoke the thread's delegate, UnsafeStart explicitly avoids capturing the current context and flowing it to the invocation.
Siehe auch