ILNumerics.Net
Kill Method (msec)

ILNumerics.Net - numeric computing and plotting for .NET

ILNumerics.AlgorithmsILAsyncAlgorithmKill(Int32)
ILNumerics.Net - numeric computing for .NET
Kills this algorithm thread.
Declaration Syntax
C#Visual BasicVisual C++
public bool Kill(
	int msec
)
Public Function Kill ( _
	msec As Integer _
) As Boolean
public:
bool Kill(
	int msec
)
Parameters
msec (Int32)
waits for at most msec milliseconds before returning
Return Value
true: the thread has been successfully canceled. false: the thread has acknowledged the cancellation request after msec milliseconds.
Remarks

This method kills the algorithm thread without waiting for the algorithm to end. It waits for at most msec milliseconds for the algorithm thread to respond and acknowledge the cancellation.

You should always prefer the Cancel() method for the Kill() method. This gives the algorithm the chance to exit cleanly.

Calling this function will NOT call any StateChanged events.

Assembly: ILNumerics.Net (Module: ILNumerics.Net) Version: 1.4.1.1 (0.10.2.0)