Condividi tramite


QuicListenerOptions.ConnectionOptionsCallback Proprietà

Definizione

Ottiene o imposta il callback di selezione per scegliere in modo dinamico le opzioni di connessione in ingresso.

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

Valore della proprietà

Si applica a