Metodo ICLRControl::SetAppDomainManagerTypeICLRControl::SetAppDomainManagerType Method
Imposta un tipo derivato da AppDomainManager come tipo per i gestori del dominio dell'applicazione.Sets a type derived from AppDomainManager as the type for application domain managers.
SintassiSyntax
HRESULT SetAppDomainManagerType (
[in] LPCWSTR pwzAppDomainManagerAssembly,
[in] LPCWSTR pwzAppDomainManagerType
);
ParametriParameters
pwzAppDomainManagerAssembly
in Nome dell'assembly in cui viene implementato il tipo richiesto derivato da AppDomainManager.[in] The name of the assembly in which the requested type derived from AppDomainManager is implemented.
pwzAppDomainManagerType
in Nome del tipo implementato nel parametro pwzAppDomainManagerAssembly
che implementa le funzionalità di AppDomainManager.[in] The name of the type implemented in the pwzAppDomainManagerAssembly
parameter that implements the capabilities of AppDomainManager.
Valore restituitoReturn Value
HRESULTHRESULT | DescrizioneDescription |
---|---|
S_OKS_OK | Il metodo è stato restituito correttamente.The method returned successfully. |
HOST_E_CLRNOTAVAILABLEHOST_E_CLRNOTAVAILABLE | Il Common Language Runtime (CLR) non è stato caricato in un processo oppure CLR si trova in uno stato in cui non è possibile eseguire codice gestito o elaborare la chiamata correttamente.The common language runtime (CLR) has not been loaded into a process, or the CLR is in a state in which it cannot run managed code or process the call successfully. |
HOST_E_TIMEOUTHOST_E_TIMEOUT | Timeout della chiamata.The call timed out. |
HOST_E_NOT_OWNERHOST_E_NOT_OWNER | Il chiamante non è il proprietario del blocco.The caller does not own the lock. |
HOST_E_ABANDONEDHOST_E_ABANDONED | Un evento è stato annullato mentre un thread bloccato o Fiber era in attesa su di esso.An event was canceled while a blocked thread or fiber was waiting on it. |
E_FAILE_FAIL | Si è verificato un errore irreversibile sconosciuto.An unknown catastrophic failure occurred. Dopo che un metodo restituisce E_FAIL, CLR non è più utilizzabile all'interno del processo.After a method returns E_FAIL, the CLR is no longer usable within the process. Le chiamate successive ai metodi di hosting restituiscono HOST_E_CLRNOTAVAILABLE.Subsequent calls to hosting methods return HOST_E_CLRNOTAVAILABLE. |
RequisitiRequirements
Piattaforme: vedere Requisiti di sistema di .NET Framework.Platforms: See System Requirements.
Intestazione: MSCorEE. hHeader: MSCorEE.h
Libreria: Incluso come risorsa in MSCorEE. dllLibrary: Included as a resource in MSCorEE.dll
Versioni di .NET Framework: Disponibile dalla 2.0Available since 2.0.NET Framework Versions: Disponibile dalla 2.0Available since 2.0
Vedere ancheSee also
Commenti
Caricamento dei commenti...