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

EventProcessorClient.Identifier Property

Definition

A unique name used to identify this event processor.

public string Identifier { get; }
member this.Identifier : string
Public ReadOnly Property Identifier As String

Property Value

Remarks

The identifier can be set using the Identifier property on the EventProcessorClientOptions passed when constructing the processor. If not specified, a random identifier will be generated.

It is recommended that you set a stable unique identifier for processor instances, as this allows the processor to recover partition ownership when an application or host instance is restarted. It also aids readability in Azure SDK logs and allows for more easily correlating logs to a specific processor instance.

Applies to