Condividi tramite


TaskLoggingHelper.MarkAsInactive Method

Definition

Notifies this object that its work is done. Thread safe. However, InitializeLifetimeService and MarkAsInactive should only be called in that order, together or not at all, and no more than once.

public:
 void MarkAsInactive();
public void MarkAsInactive ();
member this.MarkAsInactive : unit -> unit
Public Sub MarkAsInactive ()

Remarks

Indicates to the TaskLoggingHelper that it is no longer needed.

Applies to