EventHubTriggerAttribute クラス

定義

イベント ハブからのイベントをリッスンするように、パラメーターに "トリガー" を設定します。

[Microsoft.Azure.WebJobs.Description.Binding]
[System.AttributeUsage(System.AttributeTargets.Parameter)]
public sealed class EventHubTriggerAttribute : Attribute
[<Microsoft.Azure.WebJobs.Description.Binding>]
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type EventHubTriggerAttribute = class
    inherit Attribute
Public NotInheritable Class EventHubTriggerAttribute
Inherits Attribute
継承
EventHubTriggerAttribute
属性
Microsoft.Azure.WebJobs.Description.BindingAttribute AttributeUsageAttribute

コンストラクター

EventHubTriggerAttribute(String)

この属性のインスタンスを作成します。

プロパティ

Connection

Event Hub 接続文字列を含む省略可能なアプリ設定名を取得または設定します。 見つからない場合は、登録済みのイベント ハブ レシーバーの使用を試みます。

ConsumerGroup

コンシューマー グループの省略可能な名前。 見つからない場合は、既定の名前 "$Default" を使用します

EventHubName

イベント ハブの名前。

適用対象