Share via


Thread::getThisThread Method

Syntax

client server public static Thread getThisThread()

Run On

Called

Remarks

If an attacker can control input to the Thread::getThisThread method, a security risk exists. Therefore, this method runs under Code Access Security. Calls to this method on the server require permission from the ExecutePermission class. Make sure that the user has development privileges by setting the security key to SysDevelopment on the control that calls this method.

See Also

Reference

Thread Class