Edit

Share via


QuicListenerOptions.ConnectionOptionsCallback Property

Definition

Gets or sets the selection callback to choose inbound connection options dynamically.

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

Property Value

Applies to