ProcessingHookContextGetMessageMetadataValueT Method | |
Namespace:
HP.SV.DotNetRuleApi.Hook.Processing
Assembly:
HP.SV.DotNetRuleApi (in HP.SV.DotNetRuleApi.dll) Version: 5.6.0.9999-localBuild
Syntax public T GetMessageMetadataValue<T>(
string key,
T defaultValue = null
)
Parameters
- key
- Type: SystemString
- defaultValue (Optional)
- Type: T
optional value to return if the processed message doesn't contain the metadata
Type Parameters
- T
Return Value
Type:
Tmessage value associated with the key or default value
See Also