using System;
namespace System.Threading
{
/// Encapsulates and propagates the host execution context across threads.
/// 2
// Token: 0x0200060F RID: 1551
[MonoTODO("Useless until the runtime supports it")]
public class HostExecutionContext
{
/// Initializes a new instance of the class.
// Token: 0x060038AE RID: 14510 RVA: 0x000C4258 File Offset: 0x000C2458
public HostExecutionContext()
{
this._state = null;
}
/// Initializes a new instance of the class using the specified state.
/// An object representing the host execution context state.
// Token: 0x060038AF RID: 14511 RVA: 0x000C4268 File Offset: 0x000C2468
public HostExecutionContext(object state)
{
this._state = state;
}
/// Creates a copy of the current host execution context.
/// A object representing the host context for the current thread.
/// 2
// Token: 0x060038B0 RID: 14512 RVA: 0x000C4278 File Offset: 0x000C2478
public virtual HostExecutionContext CreateCopy()
{
return new HostExecutionContext(this._state);
}
/// Gets or sets the state of the host execution context.
/// An object representing the host execution context state.
// Token: 0x17000B01 RID: 2817
// (get) Token: 0x060038B1 RID: 14513 RVA: 0x000C4288 File Offset: 0x000C2488
// (set) Token: 0x060038B2 RID: 14514 RVA: 0x000C4290 File Offset: 0x000C2490
protected internal object State
{
get
{
return this._state;
}
set
{
this._state = value;
}
}
// Token: 0x040016EB RID: 5867
private object _state;
}
}