QuicListenerOptions.ConnectionOptionsCallback 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置用于动态选择入站连接选项的选择回调。
public:
property Func<System::Net::Quic::QuicConnection ^, System::Net::Security::SslClientHelloInfo, System::Threading::CancellationToken, System::Threading::Tasks::ValueTask<System::Net::Quic::QuicServerConnectionOptions ^>> ^ ConnectionOptionsCallback { Func<System::Net::Quic::QuicConnection ^, System::Net::Security::SslClientHelloInfo, System::Threading::CancellationToken, System::Threading::Tasks::ValueTask<System::Net::Quic::QuicServerConnectionOptions ^>> ^ get(); void set(Func<System::Net::Quic::QuicConnection ^, System::Net::Security::SslClientHelloInfo, System::Threading::CancellationToken, System::Threading::Tasks::ValueTask<System::Net::Quic::QuicServerConnectionOptions ^>> ^ value); };
public Func<System.Net.Quic.QuicConnection,System.Net.Security.SslClientHelloInfo,System.Threading.CancellationToken,System.Threading.Tasks.ValueTask<System.Net.Quic.QuicServerConnectionOptions>> ConnectionOptionsCallback { get; set; }
member this.ConnectionOptionsCallback : Func<System.Net.Quic.QuicConnection, System.Net.Security.SslClientHelloInfo, System.Threading.CancellationToken, System.Threading.Tasks.ValueTask<System.Net.Quic.QuicServerConnectionOptions>> with get, set
Public Property ConnectionOptionsCallback As Func(Of QuicConnection, SslClientHelloInfo, CancellationToken, ValueTask(Of QuicServerConnectionOptions))