HostExecutionContextManager Classe
Definição
Fornece a funcionalidade que permite que um host Common Language Runtime participe do fluxo ou migração do contexto de execução.Provides the functionality that allows a common language runtime host to participate in the flow, or migration, of the execution context.
public ref class HostExecutionContextManager
public class HostExecutionContextManager
type HostExecutionContextManager = class
Public Class HostExecutionContextManager
- Herança
-
HostExecutionContextManager
Comentários
Se o atual AppDomainManager tiver uma referência a um HostExecutionContextManager em sua HostExecutionContextManager propriedade, o Common Language Runtime chamará o Gerenciador sempre que uma chamada para o ExecutionContext.Run método ocorrer, para permitir que o host participe do fluxo do contexto de execução.If the current AppDomainManager has a reference to a HostExecutionContextManager in its HostExecutionContextManager property, then the common language runtime calls the manager every time a call to the ExecutionContext.Run method occurs, to allow the host to participate in the flow of the execution context.
Construtores
| HostExecutionContextManager() |
Inicializa uma nova instância da classe HostExecutionContextManager.Initializes a new instance of the HostExecutionContextManager class. |
Métodos
| Capture() |
Captura o contexto de execução do host do thread atual.Captures the host execution context from the current thread. |
| Equals(Object) |
Determina se o objeto especificado é igual ao objeto atual.Determines whether the specified object is equal to the current object. (Herdado de Object) |
| GetHashCode() |
Serve como a função de hash padrão.Serves as the default hash function. (Herdado de Object) |
| GetType() |
Obtém o Type da instância atual.Gets the Type of the current instance. (Herdado de Object) |
| MemberwiseClone() |
Cria uma cópia superficial do Object atual.Creates a shallow copy of the current Object. (Herdado de Object) |
| Revert(Object) |
Restaura o contexto de execução do host para seu estado anterior.Restores the host execution context to its prior state. |
| SetHostExecutionContext(HostExecutionContext) |
Define o contexto de execução do host atual para o contexto de execução do host especificado.Sets the current host execution context to the specified host execution context. |
| ToString() |
Retorna uma cadeia de caracteres que representa o objeto atual.Returns a string that represents the current object. (Herdado de Object) |