Udostępnij za pośrednictwem


QuicListenerOptions.ConnectionOptionsCallback Właściwość

Definicja

Pobiera lub ustawia wywołanie zwrotne zaznaczenia, aby dynamicznie wybierać opcje połączenia przychodzącego.

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))

Wartość właściwości

Dotyczy