TlsConnectionCallbackOptions.OnConnection 属性

定义

每个连接要调用的回调。 此属性是必需项。

public Func<Microsoft.AspNetCore.Connections.TlsConnectionCallbackContext,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<System.Net.Security.SslServerAuthenticationOptions>> OnConnection { get; set; }
member this.OnConnection : Func<Microsoft.AspNetCore.Connections.TlsConnectionCallbackContext, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Net.Security.SslServerAuthenticationOptions>> with get, set
Public Property OnConnection As Func(Of TlsConnectionCallbackContext, CancellationToken, ValueTask(Of SslServerAuthenticationOptions))

属性值

适用于