次の方法で共有


BlobTriggerAttribute クラス

定義

パラメーターを Azure BLOB にバインドするために使用される属性。そのため、BLOB のアップロード時に メソッドが実行されます。

[Microsoft.Azure.WebJobs.ConnectionProvider(typeof(Microsoft.Azure.WebJobs.StorageAccountAttribute))]
[Microsoft.Azure.WebJobs.Description.Binding]
[System.AttributeUsage(System.AttributeTargets.Parameter)]
public sealed class BlobTriggerAttribute : Attribute, Microsoft.Azure.WebJobs.IConnectionProvider
[<Microsoft.Azure.WebJobs.ConnectionProvider(typeof(Microsoft.Azure.WebJobs.StorageAccountAttribute))>]
[<Microsoft.Azure.WebJobs.Description.Binding>]
[<System.AttributeUsage(System.AttributeTargets.Parameter)>]
type BlobTriggerAttribute = class
    inherit Attribute
    interface IConnectionProvider
Public NotInheritable Class BlobTriggerAttribute
Inherits Attribute
Implements IConnectionProvider
継承
BlobTriggerAttribute
属性
Microsoft.Azure.WebJobs.ConnectionProviderAttribute Microsoft.Azure.WebJobs.Description.BindingAttribute AttributeUsageAttribute
実装
Microsoft.Azure.WebJobs.IConnectionProvider

注釈

メソッド パラメーターの型には、次のいずれかを指定できます。

コンストラクター

BlobTriggerAttribute(String)

BlobTriggerAttribute クラスの新しいインスタンスを初期化します。

プロパティ

BlobPath

バインド先の BLOB のパスを取得します。

Connection

Azure Storage 接続文字列を含むアプリ設定名を取得または設定します。

Source

EventGrid が使用されているかどうかを示すブール値を返します。

適用対象