HostExecutionContext::CreateCopy Method ()

 

Creates a copy of the current host execution context.

Namespace:   System.Threading
Assembly:  mscorlib (in mscorlib.dll)

public:
virtual HostExecutionContext^ CreateCopy()

Return Value

Type: System.Threading::HostExecutionContext^

A HostExecutionContext object representing the host context for the current thread.

The copy can be used as the parameter to a HostExecutionContextManager::SetHostExecutionContext method call.

.NET Framework
Available since 2.0
Return to top
Show: