﻿<?xml version="1.0" encoding="utf-8"?><Type Name="HostExecutionContext" FullName="System.Threading.HostExecutionContext"><TypeSignature Language="C#" Value="public class HostExecutionContext" /><TypeSignature Language="ILAsm" Value=".class public auto ansi beforefieldinit HostExecutionContext extends System.Object" /><AssemblyInfo><AssemblyName>mscorlib</AssemblyName><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Base><BaseTypeName>System.Object</BaseTypeName></Base><Interfaces /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Threading.HostExecutionContext" /> is part of a larger <see cref="T:System.Threading.ExecutionContext" />. The host context migrates, or flows, with the execution context.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Encapsulates and propagates the host execution context across threads. </para></summary></Docs><Members><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public HostExecutionContext ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor() cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The default constructor creates a host execution context whose <see cref="P:System.Threading.HostExecutionContext.State" /> property value is null.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Threading.HostExecutionContext" /> class. </para></summary></Docs></Member><Member MemberName=".ctor"><MemberSignature Language="C#" Value="public HostExecutionContext (object state);" /><MemberSignature Language="ILAsm" Value=".method public hidebysig specialname rtspecialname instance void .ctor(object state) cil managed" /><MemberType>Constructor</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><Parameters><Parameter Name="state" Type="System.Object" /></Parameters><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="T:System.Threading.HostExecutionContext" /> is included with the <see cref="T:System.Threading.ExecutionContext" />. The <paramref name="state" /> represents a safe handle containing the IUnknown pointer for the host.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Initializes a new instance of the <see cref="T:System.Threading.HostExecutionContext" /> class using the specified state. </para></summary><param name="state"><attribution license="cc4" from="Microsoft" modified="false" />An object representing the host execution context state.</param></Docs></Member><Member MemberName="CreateCopy"><MemberSignature Language="C#" Value="public virtual System.Threading.HostExecutionContext CreateCopy ();" /><MemberSignature Language="ILAsm" Value=".method public hidebysig newslot virtual instance class System.Threading.HostExecutionContext CreateCopy() cil managed" /><MemberType>Method</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Threading.HostExecutionContext</ReturnType></ReturnValue><Parameters /><Docs><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The copy can be used as the parameter to a <see cref="M:System.Threading.HostExecutionContextManager.SetHostExecutionContext(System.Threading.HostExecutionContext)" /> method call.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Creates a copy of the current host execution context.</para></summary><returns><attribution license="cc4" from="Microsoft" modified="false" /><para>A <see cref="T:System.Threading.HostExecutionContext" /> object representing the host context for the current thread.</para></returns></Docs></Member><Member MemberName="State"><MemberSignature Language="C#" Value="protected object State { get; set; }" /><MemberSignature Language="ILAsm" Value=".property instance object State" /><MemberType>Property</MemberType><AssemblyInfo><AssemblyVersion>2.0.0.0</AssemblyVersion><AssemblyVersion>4.0.0.0</AssemblyVersion></AssemblyInfo><ReturnValue><ReturnType>System.Object</ReturnType></ReturnValue><Docs><value>To be added.</value><since version=".NET 2.0" /><remarks><attribution license="cc4" from="Microsoft" modified="false" /><para>The <see cref="P:System.Threading.HostExecutionContext.State" /> property value represents a safe handle containing the IUnknown pointer for the host.</para></remarks><summary><attribution license="cc4" from="Microsoft" modified="false" /><para>Gets or sets the state of the host execution context.</para></summary></Docs></Member></Members></Type>