Method TryGetValue
TryGetValue(string, out StringValues)
Retrieves a value from the dictionary.
public bool TryGetValue(string key, out StringValues value)
Parameters
keystringThe header name.
valueStringValuesThe value.
Returns
- bool
true if the NatsHeaders contains the key; otherwise, false.