Udostępnij za pośrednictwem


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
String
value
String

Returns

A value indicating if the header was read.

Applies to