Muokkaa

Jaa


QuicListenerOptions.ConnectionOptionsCallback Property

Definition

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

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

Remarks

This property is mandatory. Not setting it will result in validation errors when starting the listener.

Applies to