MessageMetadataAccessAttribute Constructor | |
You can define one or many occurrences of this attribute
Namespace:
HP.SV.DotNetRuleApi.Hook.Processing.Attributes
Assembly:
HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 5.6.0.9999-localBuild
Syntax public MessageMetadataAccessAttribute(
string name,
string protocolNamespace = null,
string key = null
)
Parameters
- name
- Type: SystemString
Name of the metadata - protocolNamespace (Optional)
- Type: SystemString
The namespace of the metadata. You can leave it empty if you specify the default metadata namespace on the class level using the DefaultMessageMetadata attribute. - key (Optional)
- Type: SystemString
The key under which you will access the metadata in the context object. This will equal to metadata name if left null.
See Also