Condividi tramite


Metodo IGlobalApplicationPreloadProvider::CreateContext

Crea un contesto HTTP e restituisce un puntatore all'oggetto contesto.

Sintassi

Virtual HRESULT CreateContext(  
   _Outptr_ IHttpContext ** ppHttpContext  
) = 0;  

Parametri

ppHttpContext
[OUT] Puntatore all'oggetto contesto appena creato che incapsula tutte le informazioni specifiche di HTTP su una singola richiesta HTTP.

Valore restituito

Oggetto HRESULT. I valori possibili includono, ma non sono limitati, i valori elencati nella tabella seguente.

Valore Descrizione
S_OK Indica che l'operazione è riuscita.

Requisiti

Tipo Descrizione
Client - IIS 7.0 in Windows Vista
- IIS 7.5 in Windows 7
- IIS 8.0 in Windows 8
- IIS 10.0 in Windows 10
Server - IIS 7.0 in Windows Server 2008
- IIS 7.5 in Windows Server 2008 R2
- IIS 8.0 in Windows Server 2012
- IIS 8.5 in Windows Server 2012 R2
- IIS 10.0 in Windows Server 2016
Prodotto - IIS 7.0, IIS 7.5, IIS 8.0, IIS 8.5, IIS 10.0
- IIS Express 7.5, IIS Express 8.0, IIS Express 10.0
Intestazione Httpserv.h

Vedere anche

Interfaccia IGlobalApplicationPreloadProvider