Metodo TeamFoundationRequestContext.EnterMethod
[EnterMethod] viene chiamato all'avvio [WebMethod], [HttpHandler] o del processo in background.
[EnterMethod] deve essere chiamato il metodo sul thread che esegue la richiesta.
Spazio dei nomi: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Sintassi
'Dichiarazione
Public Overridable Sub EnterMethod ( _
methodInformation As MethodInformation _
)
public virtual void EnterMethod(
MethodInformation methodInformation
)
Parametri
- methodInformation
Tipo: Microsoft.TeamFoundation.Framework.Server.MethodInformation
Informazioni che descrivono l'avvio del metodo.
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.