Partage via


ScriptManagerDesigner.GetApplicationServices Méthode

Définition

Retourne le code ECMAScript (JavaScript) qui représente les propriétés du service de profil définies dans le contrôle ScriptManager et les contrôles ScriptManagerProxy d’une page web.

public:
 static System::String ^ GetApplicationServices(System::Web::UI::ScriptManager ^ scriptManager, System::Collections::Generic::IEnumerable<System::Web::UI::ScriptManagerProxy ^> ^ proxies);
public static string GetApplicationServices (System.Web.UI.ScriptManager scriptManager, System.Collections.Generic.IEnumerable<System.Web.UI.ScriptManagerProxy> proxies);
static member GetApplicationServices : System.Web.UI.ScriptManager * seq<System.Web.UI.ScriptManagerProxy> -> string
Public Shared Function GetApplicationServices (scriptManager As ScriptManager, proxies As IEnumerable(Of ScriptManagerProxy)) As String

Paramètres

scriptManager
ScriptManager

Le contrôle ScriptManager associé à la page web.

proxies
IEnumerable<ScriptManagerProxy>

La collection de contrôles ScriptManagerProxy associés à la page web.

Retours

String

Le code JavaScript qui définit les propriétés du service de profil.

Exceptions

scriptManager a la valeur null.

S’applique à