通过


你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

ChangeFeedProcessorBuilder.WithInMemoryLeaseContainer Method

Definition

Uses an in-memory container to maintain state of the leases

Using an in-memory container restricts the scaling capability to just the instance running the current processor.

public virtual Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder WithInMemoryLeaseContainer();
abstract member WithInMemoryLeaseContainer : unit -> Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder
override this.WithInMemoryLeaseContainer : unit -> Microsoft.Azure.Cosmos.ChangeFeedProcessorBuilder
Public Overridable Function WithInMemoryLeaseContainer () As ChangeFeedProcessorBuilder

Returns

The instance of ChangeFeedProcessorBuilder to use.

Applies to