Costruttore MethodInformation (String, MethodType, EstimatedMethodCost)
Crea un nuovo MethodInformation che descrive il WebMethod, la pagina, il gestore o il processo che vengono eseguiti.
Spazio dei nomi: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Sintassi
'Dichiarazione
Public Sub New ( _
webMethodName As String, _
methodType As MethodType, _
estimatedCost As EstimatedMethodCost _
)
public MethodInformation(
string webMethodName,
MethodType methodType,
EstimatedMethodCost estimatedCost
)
Parametri
- webMethodName
Tipo: System.String
Il nome del metodo, della pagina, del gestore o del processo.
- methodType
Tipo: Microsoft.TeamFoundation.Framework.Server.MethodType
Il tipo di metodo chiamato.
- estimatedCost
Tipo: Microsoft.TeamFoundation.Framework.Server.EstimatedMethodCost
Il costo stimato del metodo.
Note
Dato che altre condizioni sono soddisfatte, il metodo chiamato sveglierà un host inattivo e terrà un host attivo sveglio.
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.