共用方式為


HttpsConnectionAdapterOptions.OnAuthenticate 屬性

定義

提供個別連線的直接組態 SslServerAuthenticationOptions 。 這會在已套用所有其他設定之後呼叫。

public:
 property Action<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::Net::Security::SslServerAuthenticationOptions ^> ^ OnAuthenticate { Action<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::Net::Security::SslServerAuthenticationOptions ^> ^ get(); void set(Action<Microsoft::AspNetCore::Connections::ConnectionContext ^, System::Net::Security::SslServerAuthenticationOptions ^> ^ value); };
public Action<Microsoft.AspNetCore.Connections.ConnectionContext,System.Net.Security.SslServerAuthenticationOptions> OnAuthenticate { get; set; }
public Action<Microsoft.AspNetCore.Connections.ConnectionContext,System.Net.Security.SslServerAuthenticationOptions>? OnAuthenticate { get; set; }
member this.OnAuthenticate : Action<Microsoft.AspNetCore.Connections.ConnectionContext, System.Net.Security.SslServerAuthenticationOptions> with get, set
Public Property OnAuthenticate As Action(Of ConnectionContext, SslServerAuthenticationOptions)

屬性值

適用於