PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​Diagnostics.​CorrelationCorrelation­RequestTry­Get­Header
Open sandboxFocus

CorrelationRequest.TryGetHeader Method

TryGetHeader(String, out IEnumerable<String>)

Gets a request header.

Declaration
public bool TryGetHeader(string name, out IEnumerable<string> values)
Parameters
Type Name Description
String name

Header name.

System.Collections.Generic.IEnumerable<String> values

At output, set of values for the header.

Returns
Type Description
System.Boolean

true if there is at least one header of this name, otherwise false.