Share via


Costruttore MethodInformation (String, MethodType, EstimatedMethodCost, Boolean)

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, _
    keepsHostAwake As Boolean _
)
public MethodInformation(
    string webMethodName,
    MethodType methodType,
    EstimatedMethodCost estimatedCost,
    bool keepsHostAwake
)

Parametri

  • webMethodName
    Tipo: System.String
    Il nome del metodo, della pagina, del gestore o del processo.
  • keepsHostAwake
    Tipo: System.Boolean
    Indica se il metodo chiamato può eventualmente svegliare un host inattivo e mantenere un host attivo sveglio.

Note

Per keepsHostAwake, le medie vere che l'host può sveglio tenuto fornito altre condizioni sono soddisfatti.False che l'host non verrà mantenuto sveglio a causa di questa richiesta.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

MethodInformation Classe

Overload MethodInformation

Spazio dei nomi Microsoft.TeamFoundation.Framework.Server