ScriptManagerDesigner.GetApplicationServices Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns ECMAScript (JavaScript) code that represents the profile service properties defined in a Web page's ScriptManager control and ScriptManagerProxy controls.
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
Parameters
- scriptManager
- ScriptManager
The ScriptManager control associated with the Web Page.
- proxies
- IEnumerable<ScriptManagerProxy>
The collection of ScriptManagerProxy controls associated with the Web page.
Returns
The JavaScript code that defines the profile service properties.
Exceptions
scriptManager
is null
.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.