WebContextBase.Authentication Property

[WCF RIA Services Version 1 Service Pack 2 is compatible with either .NET framework 4 or .NET Framework 4.5, and with either Silverlight 4 or Silverlight 5.]

Gets or sets the authentication context for the application.

Namespace: System.ServiceModel.DomainServices.Client.ApplicationServices
Assembly: System.ServiceModel.DomainServices.Client.Web (in System.ServiceModel.DomainServices.Client.Web.dll)


Public Property Authentication As AuthenticationService
Dim instance As WebContextBase
Dim value As AuthenticationService

value = instance.Authentication

instance.Authentication = value
public AuthenticationService Authentication { get; set; }
property AuthenticationService^ Authentication {
    AuthenticationService^ get ();
    void set (AuthenticationService^ value);
member Authentication : AuthenticationService with get, set
function get Authentication () : AuthenticationService
function set Authentication (value : AuthenticationService)

Property Value

Type: System.ServiceModel.DomainServices.Client.ApplicationServices.AuthenticationService
The authentication context for the application.

See Also


WebContextBase Class

System.ServiceModel.DomainServices.Client.ApplicationServices Namespace