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

FuncExtensionHooks Class

The definition of which type of function hooks are supported in SDK. ExtensionMeta will lookup the FuncExtension life-cycle type from here.

Create new instance of FuncExtensionHooks(post_function_load, pre_invocation, post_invocation)

Constructor

FuncExtensionHooks(post_function_load: List[ExtensionHookMeta], pre_invocation: List[ExtensionHookMeta], post_invocation: List[ExtensionHookMeta])

Parameters

Name Description
post_function_load
Required
pre_invocation
Required
post_invocation
Required

Methods

count

Return number of occurrences of value.

index

Return first index of value.

Raises ValueError if the value is not present.

count

Return number of occurrences of value.

count(value, /)

Positional-Only Parameters

Name Description
value
Required

index

Return first index of value.

Raises ValueError if the value is not present.

index(value, start=0, stop=9223372036854775807, /)

Positional-Only Parameters

Name Description
value
Required
start
Default value: 0
stop
Default value: 9223372036854775807

Attributes

post_function_load

Alias for field number 0

post_function_load: List[ExtensionHookMeta]

post_invocation

Alias for field number 2

post_invocation: List[ExtensionHookMeta]

pre_invocation

Alias for field number 1

pre_invocation: List[ExtensionHookMeta]