ScriptManager.AuthenticationService ScriptManager.AuthenticationService ScriptManager.AuthenticationService ScriptManager.AuthenticationService Property

Definición

Obtiene el objeto AuthenticationServiceManager asociado a la instancia de ScriptManager actual.Gets the AuthenticationServiceManager object that is associated with the current ScriptManager instance.

public:
 property System::Web::UI::AuthenticationServiceManager ^ AuthenticationService { System::Web::UI::AuthenticationServiceManager ^ get(); };
[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
public System.Web.UI.AuthenticationServiceManager AuthenticationService { get; }
member this.AuthenticationService : System.Web.UI.AuthenticationServiceManager
Public ReadOnly Property AuthenticationService As AuthenticationServiceManager

Valor de propiedad

Comentarios

La AuthenticationServiceManager objeto devuelto por esta propiedad representa el servicio de autenticación que se registra con la página.The AuthenticationServiceManager object that is returned by this property represents the authentication service that is registered with the page. El servicio de autenticación se puede definir en el ScriptManager control o en un asociado ScriptManagerProxy control.The authentication service can be defined in the ScriptManager control or in an associated ScriptManagerProxy control.

Puede utilizar el servicio de autenticación de ASP.NET o usar un servicio de autenticación personalizada.You can use the ASP.NET authentication service or use a custom authentication service. Puede agregar el servicio personalizado en el marcado mediante la inclusión de un AuthenticationService elemento dentro de la asp:ScriptManager elemento en la página, tal como se muestra en el ejemplo siguiente.You can add the custom service in markup by including an AuthenticationService element inside the asp:ScriptManager element on the page, as shown in the following example.

<asp:ScriptManager ID="SM1" runat="server">  
  <AuthenticationService Path="MyAuthenticationService.asmx" />  
</asp:ScriptManager>  

Puede configurar mediante programación el AuthenticationServiceManager objeto.You can also programmatically configure the AuthenticationServiceManager object. Los servicios se registran con el ScriptManager control durante la página PreRender fase del ciclo de vida.Services are registered with the ScriptManager control during the page's PreRender life-cycle stage.

Se aplica a