WebHostBuilderSocketExtensions.UseSockets Yöntem

Tanım

Aşırı Yüklemeler

UseSockets(IWebHostBuilder)

Kestrel tarafından kullanılacak taşıma olarak Yuvaları belirtin.

UseSockets(IWebHostBuilder, Action<SocketTransportOptions>)

Kestrel tarafından kullanılacak taşıma olarak Yuvaları belirtin.

UseSockets(IWebHostBuilder)

Kaynak:
WebHostBuilderSocketExtensions.cs
Kaynak:
WebHostBuilderSocketExtensions.cs
Kaynak:
WebHostBuilderSocketExtensions.cs

Kestrel tarafından kullanılacak taşıma olarak Yuvaları belirtin.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseSockets(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSockets (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder);
static member UseSockets : Microsoft.AspNetCore.Hosting.IWebHostBuilder -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseSockets (hostBuilder As IWebHostBuilder) As IWebHostBuilder

Parametreler

hostBuilder
IWebHostBuilder

Yapılandırılan Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Döndürülenler

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Şunlara uygulanır

UseSockets(IWebHostBuilder, Action<SocketTransportOptions>)

Kaynak:
WebHostBuilderSocketExtensions.cs
Kaynak:
WebHostBuilderSocketExtensions.cs
Kaynak:
WebHostBuilderSocketExtensions.cs

Kestrel tarafından kullanılacak taşıma olarak Yuvaları belirtin.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ UseSockets(Microsoft::AspNetCore::Hosting::IWebHostBuilder ^ hostBuilder, Action<Microsoft::AspNetCore::Server::Kestrel::Transport::Sockets::SocketTransportOptions ^> ^ configureOptions);
public static Microsoft.AspNetCore.Hosting.IWebHostBuilder UseSockets (this Microsoft.AspNetCore.Hosting.IWebHostBuilder hostBuilder, Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions> configureOptions);
static member UseSockets : Microsoft.AspNetCore.Hosting.IWebHostBuilder * Action<Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions> -> Microsoft.AspNetCore.Hosting.IWebHostBuilder
<Extension()>
Public Function UseSockets (hostBuilder As IWebHostBuilder, configureOptions As Action(Of SocketTransportOptions)) As IWebHostBuilder

Parametreler

hostBuilder
IWebHostBuilder

Yapılandırılan Microsoft.AspNetCore.Hosting.IWebHostBuilder.

configureOptions
Action<SocketTransportOptions>

Aktarım seçeneklerini yapılandırmak için geri çağırma.

Döndürülenler

The Microsoft.AspNetCore.Hosting.IWebHostBuilder.

Şunlara uygulanır