CosmosException.TryGetHeader(String, String) Method

Definition

Try to get a header from the cosmos response message

public virtual bool TryGetHeader (string headerName, out string value);
abstract member TryGetHeader : string * string -> bool
override this.TryGetHeader : string * string -> bool
Public Overridable Function TryGetHeader (headerName As String, ByRef value As String) As Boolean

Parameters

headerName
System.String
value
System.String

Returns

System.Boolean

A value indicating if the header was read.

Applies to