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

BindingName Interface

Implements

java.lang.annotation.Annotation

public interface BindingName
implements java.lang.annotation.Annotation

Place this on a parameter whose value would come from Azure Functions runtime. Use this annotation when you want to get the value of trigger metadata, or when you defined your own bindings in function.json manually.

Method Summary

Modifier and Type Method and Description
abstract java.lang.String value()

Defines the trigger metadata name or binding name defined in function.json.

Method Details

value

public abstract String value()

Defines the trigger metadata name or binding name defined in function.json.

Returns:

The trigger metadata name or binding name.

Applies to