using System; using System.Runtime.ConstrainedExecution; namespace System.Threading { /// Provides the functionality that allows a common language runtime host to participate in the flow, or migration, of the execution context. /// 2 // Token: 0x02000610 RID: 1552 public class HostExecutionContextManager { /// Captures the host execution context from the current thread. /// A object representing the host execution context of the current thread. /// 2 // Token: 0x060038B4 RID: 14516 RVA: 0x000C42A4 File Offset: 0x000C24A4 [MonoTODO] public virtual HostExecutionContext Capture() { throw new NotImplementedException(); } /// Restores the host execution context to its prior state. /// The previous context state to revert to. /// /// is null.-or- was not created on the current thread.-or- is not the last state for the . // Token: 0x060038B5 RID: 14517 RVA: 0x000C42AC File Offset: 0x000C24AC [ReliabilityContract(Consistency.WillNotCorruptState, Cer.MayFail)] [MonoTODO] public virtual void Revert(object previousState) { throw new NotImplementedException(); } /// Sets the current host execution context to the specified host execution context. /// An object for restoring the to its previous state. /// The to be set. /// /// was not acquired through a capture operation. -or- has been the argument to a previous method call. /// 2 /// /// /// // Token: 0x060038B6 RID: 14518 RVA: 0x000C42B4 File Offset: 0x000C24B4 [MonoTODO] public virtual object SetHostExecutionContext(HostExecutionContext hostExecutionContext) { throw new NotImplementedException(); } } }