Język

SessionStateSection.UseHostingIdentity Właściwość

Definicja

Pobiera lub ustawia wartość określającą, czy stan sesji będzie używać personifikacji klienta, gdy jest dostępny, czy zawsze przywraca tożsamość hostingu.

public:
 property bool UseHostingIdentity { bool get(); void set(bool value); };
[System.Configuration.ConfigurationProperty("useHostingIdentity", DefaultValue=true)]
public bool UseHostingIdentity { get; set; }
[<System.Configuration.ConfigurationProperty("useHostingIdentity", DefaultValue=true)>]
member this.UseHostingIdentity : bool with get, set
Public Property UseHostingIdentity As Boolean

Wartość właściwości

true jeśli aplikacja sieci Web powinna przywrócić tożsamość hostingu; w przeciwnym razie, false. Wartość domyślna to true.

Atrybuty

Dotyczy