HostExecutionContext HostExecutionContext HostExecutionContext HostExecutionContext Class

Definición

Encapsula y difunde el contexto de ejecución del host en todos los subprocesos.Encapsulates and propagates the host execution context across threads.

public ref class HostExecutionContext : IDisposable
public class HostExecutionContext : IDisposable
type HostExecutionContext = class
    interface IDisposable
Public Class HostExecutionContext
Implements IDisposable
Herencia
HostExecutionContextHostExecutionContextHostExecutionContextHostExecutionContext
Implementaciones

Comentarios

La HostExecutionContext forma parte de un mayor ExecutionContext.The HostExecutionContext is part of a larger ExecutionContext. El contexto de host migra o fluye con el contexto de ejecución.The host context migrates, or flows, with the execution context.

Constructores

HostExecutionContext() HostExecutionContext() HostExecutionContext() HostExecutionContext()

Inicializa una nueva instancia de la clase HostExecutionContext.Initializes a new instance of the HostExecutionContext class.

HostExecutionContext(Object) HostExecutionContext(Object) HostExecutionContext(Object) HostExecutionContext(Object)

Inicializa una nueva instancia de la clase HostExecutionContext utilizando el estado especificado.Initializes a new instance of the HostExecutionContext class using the specified state.

Propiedades

State State State State

Obtiene o establece el estado del contexto de ejecución del host.Gets or sets the state of the host execution context.

Métodos

CreateCopy() CreateCopy() CreateCopy() CreateCopy()

Crea una copia del contexto de ejecución del host actual.Creates a copy of the current host execution context.

Dispose() Dispose() Dispose() Dispose()

Libera todos los recursos usados por la instancia actual de la clase HostExecutionContext.Releases all resources used by the current instance of the HostExecutionContext class.

Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Cuando se reemplaza en una clase derivada, libera los recursos no administrados que usa WaitHandle y, de forma opcional, libera los recursos administrados.When overridden in a derived class, releases the unmanaged resources used by the WaitHandle, and optionally releases the managed resources.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determina si el objeto especificado es igual al objeto actual.Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Sirve como la función hash predeterminada.Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Obtiene el Type de la instancia actual.Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Crea una copia superficial del objeto Object actual.Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Devuelve una cadena que representa el objeto actual.Returns a string that represents the current object.

(Inherited from Object)

Se aplica a