Share via


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

EventProcessor<TPartition>.CreateConnection 方法

定义

EventHubConnection创建用于与事件中心服务通信的 。

protected internal virtual Azure.Messaging.EventHubs.EventHubConnection CreateConnection ();
abstract member CreateConnection : unit -> Azure.Messaging.EventHubs.EventHubConnection
override this.CreateConnection : unit -> Azure.Messaging.EventHubs.EventHubConnection
Protected Friend Overridable Function CreateConnection () As EventHubConnection

返回

请求的 EventHubConnection

适用于