ServiceHostingEnvironment.AspNetCompatibilityEnabled Propriedade

Definição

Obtém um valor que indica se este serviço está a correr no contexto do pipeline de aplicação HTTP ASP.NET.

public:
 static property bool AspNetCompatibilityEnabled { bool get(); };
public static bool AspNetCompatibilityEnabled { get; }
static member AspNetCompatibilityEnabled : bool
Public Shared ReadOnly Property AspNetCompatibilityEnabled As Boolean

Valor de Propriedade

true se a compatibilidade ASP.NET estiver ativada para o AppDomain atual; caso contrário, false. A predefinição é false.

Observações

Este valor reflete o valor definido pelo AspNetCompatibilityEnabled elemento de configuração.

Aplica-se a