- Documentation for this section has not yet been entered.
System.Threading.ContextCallback is used by the ExecutionContext.Run(ExecutionContext, ContextCallback, object) and the System.Security.SecurityContext.Run(System.Security.SecurityContext, ContextCallback, object) methods. System.Threading.ContextCallback represents the method to be run in the provided context. Upon completion of the method execution, the context is restored to its previous state.
Create the delegate by passing your callback method to the System.Threading.ContextCallback constructor. Your method must have the signature shown here.