AppExtensionHooks Class
The definition of which type of global hooks are supported in SDK. ExtensionMeta will lookup the AppExtension life-cycle type from here.
Create new instance of AppExtensionHooks(post_function_load_app_level, pre_invocation_app_level, post_invocation_app_level)
- Inheritance
-
builtins.tupleAppExtensionHooks
Constructor
AppExtensionHooks(post_function_load_app_level: List[ExtensionHookMeta], pre_invocation_app_level: List[ExtensionHookMeta], post_invocation_app_level: List[ExtensionHookMeta])
Parameters
Name | Description |
---|---|
_cls
Required
|
|
post_function_load_app_level
Required
|
|
pre_invocation_app_level
Required
|
|
post_invocation_app_level
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_app_level
Alias for field number 0
post_function_load_app_level: List[ExtensionHookMeta]
post_invocation_app_level
Alias for field number 2
post_invocation_app_level: List[ExtensionHookMeta]
pre_invocation_app_level
Alias for field number 1
pre_invocation_app_level: List[ExtensionHookMeta]
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Python