CosmosDbContextOptionsBuilder.MaxRequestsPerTcpConnection(Int32) Yöntem

Tanım

Tek bir TCP bağlantısı üzerinden aynı anda izin verilen istek sayısını yapılandırıyor. Aynı anda daha fazla istek olduğunda, doğrudan/TCP istemcisi ek bağlantılar açar.

public virtual Microsoft.EntityFrameworkCore.Infrastructure.CosmosDbContextOptionsBuilder MaxRequestsPerTcpConnection (int requestLimit);
abstract member MaxRequestsPerTcpConnection : int -> Microsoft.EntityFrameworkCore.Infrastructure.CosmosDbContextOptionsBuilder
override this.MaxRequestsPerTcpConnection : int -> Microsoft.EntityFrameworkCore.Infrastructure.CosmosDbContextOptionsBuilder
Public Overridable Function MaxRequestsPerTcpConnection (requestLimit As Integer) As CosmosDbContextOptionsBuilder

Parametreler

requestLimit
Int32

Tek bir TCP bağlantısı üzerinden aynı anda izin verilen istek sayısı.

Döndürülenler

CosmosDbContextOptionsBuilder

Açıklamalar

Daha fazla bilgi için bkz. DbContextOptionskullanma ve Cosmos db ile Azure EF Core db'ye erişme.

Şunlara uygulanır