Share via


HttpTransportElement.AuthenticationScheme Proprietà

Definizione

Ottiene o imposta lo schema di autenticazione utilizzato per autenticare richieste client elaborate da un listener HTTP.

public:
 property System::Net::AuthenticationSchemes AuthenticationScheme { System::Net::AuthenticationSchemes get(); void set(System::Net::AuthenticationSchemes value); };
[System.Configuration.ConfigurationProperty("authenticationScheme", DefaultValue=System.Net.AuthenticationSchemes.Anonymous)]
public System.Net.AuthenticationSchemes AuthenticationScheme { get; set; }
[<System.Configuration.ConfigurationProperty("authenticationScheme", DefaultValue=System.Net.AuthenticationSchemes.Anonymous)>]
member this.AuthenticationScheme : System.Net.AuthenticationSchemes with get, set
Public Property AuthenticationScheme As AuthenticationSchemes

Valore della proprietà

Oggetto AuthenticationSchemes che specifica i protocolli utilizzati per l'autenticazione del client. Il valore predefinito è Anonymous.

Attributi

Commenti

Lo schema di autenticazione può essere impostato solo una volta.

Si applica a