inhibit


Description:

[ Version ( since = "1.4" ) ]
public Inhibitor? inhibit (ApplicationInhibitFlags flags, string reason)

Inhibits one or more particular actions in the session.

When the resulting Inhibitor releases it's last reference the inhibitor will be dismissed. Alternatively, you may force the release of the inhibit using uninhibit .

Parameters:

this

a Workspace

flags

the inhibit flags

reason

the reason for the inhibit

Returns:

a Inhibitor or null