ITLogMsg.Cancel

 

Function Cancel() As Boolean

 

Purpose:

§      cancel the logmessage -- destroys it without sending it for output to the logchannel.

 

Return value:

§      True if the logmessage was sent by this call

(That is, if ITLogMsg.WillBeLogged was True before the call.)

§      False otherwise

 

Notes:

§      After the operation ITLogMsg.WillBeLogged is always False.

§      The object can be reused by calling ITLogMsg.Create again.

 

See also:

§      ITLogMsg.WillBeLogged

§      ITLogMsg.Create