EN
本內容沒有您的語言版本,但有英文版本。

terminate method

Terminates a worker thread immediately.

Syntax

var retval = Worker.terminate();

Parameters

This method has no parameters.

Return value

Type: HRESULT

This method can return one of these values.

S_OK

Remarks

You can terminate a worker thread inside its own code by using the self.close method.

See also

Worker

 

 

顯示:
© 2014 Microsoft